aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-28 05:31:23 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-28 05:31:23 +0000
commit9f4a1c6e3023d138081dd452e1c72fe78e78f831 (patch)
treee7bf4817497223512026c624ad3af674f64ffd62 /net-im
parent321051046a28075e75833fbae66ad92df27e07a6 (diff)
downloadports-9f4a1c6e3023d138081dd452e1c72fe78e78f831.tar.gz
ports-9f4a1c6e3023d138081dd452e1c72fe78e78f831.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/centericq/Makefile4
-rw-r--r--net-im/centericq/files/patch-libmsn-0.1::msn_commands.cc11
2 files changed, 13 insertions, 2 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index 9514ab633fb7..a7e74df31738 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -13,13 +13,13 @@ MASTER_SITES= http://konst.org.ua/download/
MAINTAINER= ijliao@FreeBSD.org
-LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext-old \
+LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext \
sigc.1:${PORTSDIR}/devel/libsigc++
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib -lintl"
+ LIBS="-L${LOCALBASE}/lib -lintl -liconv"
CONFIGURE_ARGS= --without-included-gettext
MAN1= centericq.1
diff --git a/net-im/centericq/files/patch-libmsn-0.1::msn_commands.cc b/net-im/centericq/files/patch-libmsn-0.1::msn_commands.cc
new file mode 100644
index 000000000000..45e8de0521bb
--- /dev/null
+++ b/net-im/centericq/files/patch-libmsn-0.1::msn_commands.cc
@@ -0,0 +1,11 @@
+--- libmsn-0.1/msn_commands.cc.orig Thu Mar 28 13:07:35 2002
++++ libmsn-0.1/msn_commands.cc Thu Mar 28 13:08:24 2002
+@@ -442,7 +442,7 @@
+ char **outbuf, size_t *outbytesleft)
+ {
+ while (*inbytesleft) {
+- iconv( handle, inbuf, inbytesleft, outbuf, outbytesleft);
++ iconv( handle, (const char**)inbuf, inbytesleft, outbuf, outbytesleft);
+ if (!*inbytesleft || !*outbytesleft)
+ return;
+ /*got invalid seq - so replace it with '?' */