aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/irssi
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2004-04-11 21:25:23 +0800
committervanilla <vanilla@FreeBSD.org>2004-04-11 21:25:23 +0800
commit1ba5e204615648c9db3b767178fe2f52850250a7 (patch)
treed0dac592c633a50e8798e3eb2ef0ee4d0838f81e /chinese/irssi
parent05871aa6ed410106f56d6d70e488b2ef39484df8 (diff)
downloadfreebsd-ports-gnome-1ba5e204615648c9db3b767178fe2f52850250a7.tar.gz
freebsd-ports-gnome-1ba5e204615648c9db3b767178fe2f52850250a7.tar.zst
freebsd-ports-gnome-1ba5e204615648c9db3b767178fe2f52850250a7.zip
Fix pasting bug(>128bytes).
Submitted by: kcwu via #bsdchat
Diffstat (limited to 'chinese/irssi')
-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;
+ }
+ }