aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/irssi/Makefile2
-rw-r--r--chinese/irssi/files/patch-src::fe-text::term-terminfo.c11
2 files changed, 11 insertions, 2 deletions
diff --git a/chinese/irssi/Makefile b/chinese/irssi/Makefile
index 5250f6431d47..c8182b837ee7 100644
--- a/chinese/irssi/Makefile
+++ b/chinese/irssi/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= chinese
MAINTAINER= vanilla@FreeBSD.org
diff --git a/chinese/irssi/files/patch-src::fe-text::term-terminfo.c b/chinese/irssi/files/patch-src::fe-text::term-terminfo.c
index 03780431111b..eb2e26ceaa35 100644
--- a/chinese/irssi/files/patch-src::fe-text::term-terminfo.c
+++ b/chinese/irssi/files/patch-src::fe-text::term-terminfo.c
@@ -1,5 +1,5 @@
--- src/fe-text/term-terminfo.c.orig Mon Oct 20 03:10:02 2003
-+++ src/fe-text/term-terminfo.c Sun Dec 14 01:54:28 2003
++++ src/fe-text/term-terminfo.c Sun Apr 11 21:11:41 2004
@@ -421,16 +421,21 @@
if (vcy == term_height-1 && vcx == term_width-1)
return; /* last char in screen */
@@ -33,3 +33,12 @@
term_printed_text(len);
if (vcy != term_height || vcx != 0)
+@@ -640,7 +645,7 @@
+ if (i >= term_inbuf_pos)
+ term_inbuf_pos = 0;
+ else if (i > 0) {
+- memmove(term_inbuf+i, term_inbuf, term_inbuf_pos-i);
++ memmove(term_inbuf, term_inbuf+i, term_inbuf_pos-i);
+ term_inbuf_pos -= i;
+ }
+ }