View | Details | Raw Unified | Return to bug 245001
Collapse All | Expand All

(-)devel/stfl/Makefile (+2 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	stfl
4
PORTNAME=	stfl
5
PORTVERSION=	0.24
5
PORTVERSION=	0.24
6
PORTREVISION=	1
6
CATEGORIES=	devel
7
CATEGORIES=	devel
7
MASTER_SITES=	http://www.clifford.at/stfl/
8
MASTER_SITES=	http://www.clifford.at/stfl/
8
9
Lines 38-42 Link Here
38
39
39
post-install:
40
post-install:
40
	${LN} -s libstfl.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libstfl.so.0
41
	${LN} -s libstfl.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libstfl.so.0
42
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libstfl.so.${PORTVERSION}
41
43
42
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)devel/stfl/files/patch-base.c (+19 lines)
Line 0 Link Here
1
https://github.com/newsboat/newsboat/issues/506
2
3
--- base.c.orig	2015-01-05 10:50:54 UTC
4
+++ base.c
5
@@ -750,9 +750,11 @@ unsigned int stfl_print_richtext(struct stfl_widget *w
6
 				wmemcpy(stylename, p1 + 1, p2 - p1 - 1);
7
 				stylename[p2 - p1 - 1] = L'\0';
8
 				if (wcscmp(stylename,L"")==0) {
9
-					mvwaddnwstr(win, y, x, L"<", 1);
10
-					retval += 1;
11
-					++x;
12
+					if (end_col - x > 0) {
13
+						mvwaddnwstr(win, y, x, L"<", 1);
14
+						retval += 1;
15
+						++x;
16
+					}
17
 				} else if (wcscmp(stylename, L"/")==0) {
18
 					stfl_style(win, style_normal);
19
 				} else {

Return to bug 245001