Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2008 21:45:38 GMT
From:      Volker Werth <volker@vwsoft.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/126486: [patch] devel/log4cxx fix compiling under FreeBSD 7
Message-ID:  <200808122145.m7CLjcJF013200@www.freebsd.org>
Resent-Message-ID: <200808122150.m7CLo12v069512@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808122145.m7CLjcJF013200>