ports/devel/log4cxx/files/patch-include-clocale-and-cstdlib
Pawel Pekala a7e7bec3c5 - Fix build with clang [1]
- Improve COMMENT
- Allow staging
- Remove DOCS option, it does nothing anyway
- Fix install when DOXYGEN=on, use generated plist
  for doxygen documentation files
- Use option helpers
- Move declarations to their proper places

PR:		ports/184172 [1]
Submitted by:	Jens Bäckman <jens.backman@gmail.com> [1]
2013-11-22 20:28:02 +00:00

24 lines
662 B
Text

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