ports/126486: [patch] devel/log4cxx fix compiling under FreeBSD 7

Volker Werth volker at vwsoft.com
Tue Aug 12 21:50:01 UTC 2008

>Number:         126486
>Category:       ports
>Synopsis:       [patch] devel/log4cxx fix compiling under FreeBSD 7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 12 21:50:00 UTC 2008
>Originator:     Volker Werth
>Release:        RELENG_7
devel/log4cxx does not compile under FreeBSD 7 (7.0-R, 7-STABLE):

 c++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -I/usr/local/include/libxml2 -I/usr/local/include -D_THREAD_SAFE -O2 -fno-strict-aliasing -pipe -c domconfigurator.cpp -MT domconfigurator.lo -MD -MP -MF .deps/domconfigurator.TPlo  -fPIC -DPIC -o .libs/domconfigurator.o
In file included from domconfigurator.cpp:29:
./include/log4cxx/xml/domconfigurator.h:211: error: extra qualification 'log4cxx::xml::DOMConfigurator::' on member 'subst'
*** Error code 1

Stop in /usr/ports/devel/log4cxx/work/log4cxx-0.9.7/src.
*** Error code 1

Stop in /usr/ports/devel/log4cxx/work/log4cxx-0.9.7.
*** Error code 1

Stop in /usr/ports/devel/log4cxx.

cd /usr/ports/devel/log4cxx; make
put the attached file info log4cxx/files (a one-liner patch)

Patch attached with submission follows:

--- include/log4cxx/xml/domconfigurator.h.orig	2008-08-12 23:36:20.000000000 +0200
+++ include/log4cxx/xml/domconfigurator.h	2008-08-12 23:36:28.000000000 +0200
@@ -208,7 +208,7 @@
 				spi::LoggerRepositoryPtr& repository);
-			String DOMConfigurator::subst(const String& value);
+			String subst(const String& value);
 			void * appenderBag;


More information about the freebsd-ports-bugs mailing list