aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/centericq
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-28 13:31:23 +0800
committerijliao <ijliao@FreeBSD.org>2002-03-28 13:31:23 +0800
commitac6e44d1f22be20121974435fcdec350299980db (patch)
treefc9ab60f97af989720f1d9a19a5b069317106769 /net-im/centericq
parenta5fa7eb1dd09cdcd74d3a8373545bc41a7a9ccd3 (diff)
downloadfreebsd-ports-gnome-ac6e44d1f22be20121974435fcdec350299980db.tar.gz
freebsd-ports-gnome-ac6e44d1f22be20121974435fcdec350299980db.tar.zst
freebsd-ports-gnome-ac6e44d1f22be20121974435fcdec350299980db.zip
gettext-old -> gettext
fix build problem PR: 36399 Submitted by: Shaun Branden <shaun@pcuse.com> and many others
Diffstat (limited to 'net-im/centericq')
-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 '?' */