[114179] trunk/dports/devel/log4cxx
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 30 20:05:47 PST 2013
Revision: 114179
https://trac.macports.org/changeset/114179
Author: ryandesign at macports.org
Date: 2013-11-30 20:05:46 -0800 (Sat, 30 Nov 2013)
Log Message:
-----------
log4cxx: fix build failure on Mavericks (#41604; maintainer timeout)
Modified Paths:
--------------
trunk/dports/devel/log4cxx/Portfile
Added Paths:
-----------
trunk/dports/devel/log4cxx/files/patch-src-main-cpp-stringhelper.cpp.diff
trunk/dports/devel/log4cxx/files/patch-src-main-include-log4cxx-helpers-simpledateformat.h.diff
Modified: trunk/dports/devel/log4cxx/Portfile
===================================================================
--- trunk/dports/devel/log4cxx/Portfile 2013-12-01 03:54:46 UTC (rev 114178)
+++ trunk/dports/devel/log4cxx/Portfile 2013-12-01 04:05:46 UTC (rev 114179)
@@ -12,7 +12,7 @@
description log4cxx is a port to C++ of the log4j project
long_description Apache log4cxx is a logging framework for C++ patterned \
- after Apache log4j . Apache log4cxx uses Apache Portable \
+ after Apache log4j. Apache log4cxx uses Apache Portable \
Runtime for most platform-specific code and should be \
usable on any platform supported by APR.
@@ -25,8 +25,10 @@
rmd160 6df384e5c746c3c6903efae6c9f0d64e4f07a5ad
patchfiles gcc43.patch \
+ patch-src-main-cpp-stringhelper.cpp.diff \
+ patch-src-main-include-log4cxx-helpers-simpledateformat.h.diff \
warnings.patch
-# override patch.pre_args since it defaults to -p0
+
patch.pre_args -p1
depends_build port:pkgconfig
Added: trunk/dports/devel/log4cxx/files/patch-src-main-cpp-stringhelper.cpp.diff
===================================================================
--- trunk/dports/devel/log4cxx/files/patch-src-main-cpp-stringhelper.cpp.diff (rev 0)
+++ trunk/dports/devel/log4cxx/files/patch-src-main-cpp-stringhelper.cpp.diff 2013-12-01 04:05:46 UTC (rev 114179)
@@ -0,0 +1,8 @@
+--- a/src/main/cpp/stringhelper.cpp
++++ b/src/main/cpp/stringhelper.cpp
+@@ -28,6 +28,7 @@
+ #endif
+ #include <log4cxx/private/log4cxx_private.h>
+ #include <cctype>
++#include <cstdlib>
+ #include <apr.h>
Added: trunk/dports/devel/log4cxx/files/patch-src-main-include-log4cxx-helpers-simpledateformat.h.diff
===================================================================
--- trunk/dports/devel/log4cxx/files/patch-src-main-include-log4cxx-helpers-simpledateformat.h.diff (rev 0)
+++ trunk/dports/devel/log4cxx/files/patch-src-main-include-log4cxx-helpers-simpledateformat.h.diff 2013-12-01 04:05:46 UTC (rev 114179)
@@ -0,0 +1,14 @@
+--- a/src/main/include/log4cxx/helpers/simpledateformat.h
++++ b/src/main/include/log4cxx/helpers/simpledateformat.h
+@@ -27,10 +27,9 @@
+
+ #include <log4cxx/helpers/dateformat.h>
+ #include <vector>
++#include <locale>
+ #include <time.h>
+
+-namespace std { class locale; }
+-
+ namespace log4cxx
+ {
+ namespace helpers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131130/6ed0f520/attachment.html>
More information about the macports-changes
mailing list