aboutsummaryrefslogtreecommitdiff
path: root/chinese/bitchx
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-02-08 13:33:52 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-02-08 13:33:52 +0000
commit3c362490467e42ffdaf8e7708415fa115b2f9cdf (patch)
tree489f633934fa93aa8614627116c795a5c5b094f0 /chinese/bitchx
parenta6f0da58871b5e9f30c98864f15e2528bd4a0a8d (diff)
downloadports-3c362490467e42ffdaf8e7708415fa115b2f9cdf.tar.gz
ports-3c362490467e42ffdaf8e7708415fa115b2f9cdf.zip
Unbreak
PR: 197175
Notes
Notes: svn path=/head/; revision=378654
Diffstat (limited to 'chinese/bitchx')
-rw-r--r--chinese/bitchx/Makefile11
-rw-r--r--chinese/bitchx/files/patch-include__config.h44
2 files changed, 24 insertions, 31 deletions
diff --git a/chinese/bitchx/Makefile b/chinese/bitchx/Makefile
index a006e33dc746..5c1338bc8cd0 100644
--- a/chinese/bitchx/Makefile
+++ b/chinese/bitchx/Makefile
@@ -1,11 +1,10 @@
# Created by: clive
# $FreeBSD$
-PORTNAME= BitchX
-PORTREVISION= 8
+PORTNAME= bitchx
CATEGORIES= chinese
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= chris@bsdjunk.com
COMMENT= Zh-tw cursor movement friendly, wrapping clean BitchX
MASTERDIR= ${.CURDIR}/../../irc/bitchx
@@ -13,10 +12,6 @@ EXTRA_PATCHES= ${.CURDIR}/files/patch-source__input.c \
${.CURDIR}/files/patch-include__config.h \
${.CURDIR}/files/patch-source__screen.c
-WITH_LATIN= YES
-# Cursor movement and words wrapping aren't hacked if compiled with gnome.
-WITHOUT_GNOME= YES
-# If without gnome, esound support isn't needed.
-WITHOUT_ESOUND= YES
+OPTIONS_SLAVE= LATIN
.include "${MASTERDIR}/Makefile"
diff --git a/chinese/bitchx/files/patch-include__config.h b/chinese/bitchx/files/patch-include__config.h
index e011a935830e..0f21c96dabb9 100644
--- a/chinese/bitchx/files/patch-include__config.h
+++ b/chinese/bitchx/files/patch-include__config.h
@@ -1,19 +1,17 @@
---- include/config.h.orig2 2012-11-05 22:31:31.000000000 -0500
-+++ include/config.h 2012-11-05 22:31:12.000000000 -0500
-@@ -99,7 +99,11 @@
- "pinky.slashnet.org "\
- "blago.slashnet.org "\
- "moo.slashnet.org "\
-- "coruscant.slashnet.org "
-+ "coruscant.slashnet.org "\
-+ "[ircnet] "\
-+ "irc.seed.net.tw "\
-+ "irc.tw.freebsd.org "\
-+ "irc.csie.nctu.edu.tw "
- #endif
-
- /*
-@@ -152,7 +156,7 @@
+--- include/config.h.bak 2015-01-29 06:24:13.523281651 -0800
++++ include/config.h 2015-01-29 06:33:51.148252017 -0800
+@@ -63,6 +63,10 @@
+ "ircnet.eversible.com "\
+ "ircnet.blacklotus.net "\
+ "irc.ca.ircnet.net "\
++ "[ircnet tw]"\
++ "irc.seed.net.tw"\
++ "irc.tw.freebsd.org"\
++ "irc.csie.nctu.edu.tw"\
+ "[ircnet EU] "\
+ "irc.dotsrc.org "\
+ "irc.belwue.de "\
+@@ -150,7 +154,7 @@
* we define the default network type for server groups. Do not just
* undefine this.
*/
@@ -22,7 +20,7 @@
/*
* Below are the IRCII variable defaults. For boolean variables, use 1 for
-@@ -299,7 +303,7 @@
+@@ -297,7 +301,7 @@
* when you've defined LATIN1. The problem is that ansi graphics will look
* ugly if you use the scroll up feature (PageUp/PageDown)
*/
@@ -31,7 +29,7 @@
/* If you define REVERSE_WHITE_BLACK, then the format codes for black and
* white color are revepsed. (%W, %w is bold black and black, %K, %k is bold
-@@ -332,7 +336,7 @@
+@@ -330,7 +334,7 @@
#define DEFAULT_PING_TYPE 1
#define DEFAULT_MSGLOG ON
@@ -40,7 +38,7 @@
#define DEFAULT_ALT_CHARSET ON
#define DEFAULT_FLOOD_KICK ON
#define DEFAULT_FLOOD_PROTECTION ON
-@@ -341,9 +345,9 @@
+@@ -339,9 +343,9 @@
#define DEFAULT_LLOOK_DELAY 120
#define DEFAULT_ALWAYS_SPLIT_BIGGEST ON
#define DEFAULT_AUTO_UNMARK_AWAY OFF
@@ -52,7 +50,7 @@
#define DEFAULT_BEEP_MAX 3
#define DEFAULT_BEEP_WHEN_AWAY OFF
#define DEFAULT_BOLD_VIDEO ON
-@@ -427,7 +431,7 @@
+@@ -425,7 +429,7 @@
#define DEFAULT_NOTIFY ON
#define DEFAULT_QUEUE_SENDS 0
#define DEFAULT_MAX_SERVER_RECONNECT 2
@@ -61,7 +59,7 @@
#define DEFAULT_WINDOW_DESTROY_PART OFF
#define DEFAULT_WINDOW_DESTROY_QUERY OFF
#define DEFAULT_SUPPRESS_SERVER_MOTD ON
-@@ -560,7 +564,7 @@
+@@ -558,7 +562,7 @@
#define DEFAULT_SHELL "/bin/sh"
#define DEFAULT_SHELL_FLAGS "-c"
#define DEFAULT_USERINFO ""
@@ -70,13 +68,13 @@
#define DEFAULT_XTERM_OPTIONS "-bg black -fg white"
#define DEFAULT_DCC_DLDIR "~"
-@@ -695,6 +699,24 @@
+@@ -692,6 +696,24 @@
#define WANT_CORE
-+
+#define WANT_BIG5
+
++
+/* XXX I hope this could be integrated into BX.
+ * XXX Well, this should be done via libc,
+ * but FreeBSD libc support is quite LAME.