ports/184172: [patch] build fix for devel/log4cxx in FreeBSD 10
Jens Bäckman
jens.backman at gmail.com
Fri Nov 22 14:10:01 UTC 2013
>Number: 184172
>Category: ports
>Synopsis: [patch] build fix for devel/log4cxx in FreeBSD 10
>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: Fri Nov 22 14:10:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Jens Bäckman
>Release: FreeBSD 10.0-BETA3 amd64
>Organization:
(none)
>Environment:
FreeBSD virtual 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The port devel/log4cxx won't build with clang.
>How-To-Repeat:
Just try to build devel/log4cxx, it will fail.
>Fix:
Apply the included patch.
Patch attached with submission follows:
Index: devel/log4cxx/files/patch-include-clocale-and-cstdlib
===================================================================
--- devel/log4cxx/files/patch-include-clocale-and-cstdlib (revision 0)
+++ devel/log4cxx/files/patch-include-clocale-and-cstdlib (working copy)
@@ -0,0 +1,24 @@
+--- src/main/cpp/stringhelper.cpp 2008-04-01 00:34:09.000000000 +0200
++++ src/main/cpp/stringhelper.cpp 2013-11-22 11:27:50.000000000 +0100
+@@ -28,6 +28,7 @@
+ #endif
+ #include <log4cxx/private/log4cxx_private.h>
+ #include <cctype>
++#include <cstdlib>
+ #include <apr.h>
+
+
+--- src/main/include/log4cxx/helpers/simpledateformat.h 2008-04-01 00:34:26.000000000 +0200
++++ src/main/include/log4cxx/helpers/simpledateformat.h 2013-11-22 11:27:27.000000000 +0100
+@@ -27,10 +27,9 @@
+
+ #include <log4cxx/helpers/dateformat.h>
+ #include <vector>
++#include <locale>
+ #include <time.h>
+
+-namespace std { class locale; }
+-
+ namespace log4cxx
+ {
+ namespace helpers
Property changes on: devel/log4cxx/files/patch-include-clocale-and-cstdlib
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list