- Fix build with gcc 4.2

- S/INSTALLS_SHLIB/USE_LDCONFIG

PR:		118937
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
This commit is contained in:
Martin Wilke 2008-01-12 13:11:16 +00:00
parent c0662a811c
commit 019f87a3db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205501
2 changed files with 12 additions and 5 deletions

View file

@ -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

View file

@ -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);