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
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 12 21:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Volker Werth
>Release: RELENG_7
>Organization:
>Environment:
>Description:
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.
>How-To-Repeat:
cd /usr/ports/devel/log4cxx; make
>Fix:
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);
protected:
- String DOMConfigurator::subst(const String& value);
+ String subst(const String& value);
protected:
void * appenderBag;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list