aboutsummaryrefslogtreecommitdiff
path: root/www/elinks
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-04-01 06:52:50 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-04-01 06:52:50 +0000
commitd05f95eacbf43766d183f8a916a271b5bf3a6b45 (patch)
tree30454def47ffe9cfdcd305a9b8d794f650b27151 /www/elinks
parentbd5a92c76b36b7e825207895d7d19bd9601e3e5e (diff)
downloadports-d05f95eacbf43766d183f8a916a271b5bf3a6b45.tar.gz
ports-d05f95eacbf43766d183f8a916a271b5bf3a6b45.zip
Fixed a nasty bug that distorts the output on terminals that
do not have the "eat_newline_glitch (xn)" glitch, e.g., the cons25 family of terminals. Based on patch provided by Petr Baudis. Approved by: Jason Harris (maintainer)
Notes
Notes: svn path=/head/; revision=105844
Diffstat (limited to 'www/elinks')
-rw-r--r--www/elinks/Makefile1
-rw-r--r--www/elinks/files/patch-src::terminal::screen.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/www/elinks/Makefile b/www/elinks/Makefile
index db0ee357b1e1..17928131762a 100644
--- a/www/elinks/Makefile
+++ b/www/elinks/Makefile
@@ -7,6 +7,7 @@
PORTNAME= elinks
PORTVERSION= 0.9.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://elinks.or.cz/download/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
diff --git a/www/elinks/files/patch-src::terminal::screen.c b/www/elinks/files/patch-src::terminal::screen.c
new file mode 100644
index 000000000000..ac6dd12b37fc
--- /dev/null
+++ b/www/elinks/files/patch-src::terminal::screen.c
@@ -0,0 +1,12 @@
+--- src/terminal/screen.c Sun Jan 4 02:07:50 2004
++++ src/terminal/screen.c Fri Feb 20 11:43:54 2004
+@@ -575,6 +575,9 @@ add_char256(struct string *screen, struc
+ register int x = 0; \
+ \
+ for (; x < (term_)->width; x++, current++, pos++) { \
++ if (y == (term_)->height - 1 && \
++ x == (term_)->width - 1) \
++ break; \
+ if (compare_bg_color(pos->color, current->color)) { \
+ /* No update for exact match. */ \
+ if (compare_fg_color(pos->color, current->color)\