From e41306140ebc24295f50527b8254a2dfd7686ce4 Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 12 Jan 2008 13:11:16 +0000 Subject: - Fix build with gcc 4.2 - S/INSTALLS_SHLIB/USE_LDCONFIG PR: 118937 Submitted by: Pietro Cerutti --- textproc/iiimf-server/Makefile | 6 +----- textproc/iiimf-server/files/patch-iiimsf-src_IMSvrXMLConf.hh | 11 +++++++++++ 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 textproc/iiimf-server/files/patch-iiimsf-src_IMSvrXMLConf.hh (limited to 'textproc/iiimf-server') diff --git a/textproc/iiimf-server/Makefile b/textproc/iiimf-server/Makefile index 989663c..8d4c397 100644 --- a/textproc/iiimf-server/Makefile +++ b/textproc/iiimf-server/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= iiimp.1:${PORTSDIR}/textproc/iiimf-protocol-lib ONLY_FOR_ARCHS= i386 -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes USE_RC_SUBR= iiimd.sh USE_BZIP2= yes USE_GMAKE= yes @@ -37,10 +37,6 @@ BUILDDIR= ${WRKSRC}/iiimsf IGNORE= is supported on FreeBSD 5.3 and later only .endif -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - .if defined(WITH_DEBUG) CFLAGS+= -g -ggdb -DDEBUG .endif diff --git a/textproc/iiimf-server/files/patch-iiimsf-src_IMSvrXMLConf.hh b/textproc/iiimf-server/files/patch-iiimsf-src_IMSvrXMLConf.hh new file mode 100644 index 0000000..25fa8eb --- /dev/null +++ b/textproc/iiimf-server/files/patch-iiimsf-src_IMSvrXMLConf.hh @@ -0,0 +1,11 @@ +--- iiimsf/src/IMSvrXMLConf.hh.orig 2007-12-21 19:19:48.000000000 +0100 ++++ iiimsf/src/IMSvrXMLConf.hh 2007-12-21 19:20:00.000000000 +0100 +@@ -14,7 +14,7 @@ + + IMAuth::access_type get_access_type(xmlChar *key); + +- string IMSvrXMLConf::parse_text_node(xmlNodePtr &node); ++ string parse_text_node(xmlNodePtr &node); + string parse_hostname_node(xmlNodePtr &node); + string parse_port_node(xmlNodePtr &node); + string parse_file_node(xmlNodePtr &node); -- cgit v1.1