From ac6e44d1f22be20121974435fcdec350299980db Mon Sep 17 00:00:00 2001 From: ijliao Date: Thu, 28 Mar 2002 05:31:23 +0000 Subject: gettext-old -> gettext fix build problem PR: 36399 Submitted by: Shaun Branden and many others --- net-im/centericq/Makefile | 4 ++-- net-im/centericq/files/patch-libmsn-0.1::msn_commands.cc | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 net-im/centericq/files/patch-libmsn-0.1::msn_commands.cc (limited to 'net-im/centericq') 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 '?' */ -- cgit