diff options
-rw-r--r-- | chinese/irssi/Makefile | 5 | ||||
-rw-r--r-- | chinese/irssi/files/patch-utf8_break | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/chinese/irssi/Makefile b/chinese/irssi/Makefile index c03c038..e4f4651 100644 --- a/chinese/irssi/Makefile +++ b/chinese/irssi/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ # -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= chinese MAINTAINER= vanilla@FreeBSD.org @@ -13,6 +13,7 @@ COMMENT= A zh-tw cursor movement friendly, wrapping clean irssi MASTERDIR= ${.CURDIR}/../../irc/irssi -EXTRA_PATCHES= ${.CURDIR}/files/patch-irssi.conf +EXTRA_PATCHES= ${.CURDIR}/files/patch-irssi.conf \ + ${.CURDIR}/files/patch-utf8_break .include "${MASTERDIR}/Makefile" diff --git a/chinese/irssi/files/patch-utf8_break b/chinese/irssi/files/patch-utf8_break new file mode 100644 index 0000000..436eaf8 --- /dev/null +++ b/chinese/irssi/files/patch-utf8_break @@ -0,0 +1,11 @@ +--- src/fe-text/textbuffer-view.c.orig Mon Jul 31 06:28:09 2006 ++++ src/fe-text/textbuffer-view.c Mon Jul 31 06:28:19 2006 +@@ -255,7 +255,7 @@ + continue; + } + +- if (!view->utf8 && char_len > 1) { ++ if (char_len > 1) { + last_space = xpos; + last_space_ptr = next_ptr; + last_color = color; |