summaryrefslogtreecommitdiffstats
path: root/package/log4cxx/log4cxx-0003-missing-includes.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-24 08:19:29 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-24 20:38:56 +0100
commit6ebb930b694e97e5cf85a724957d9c0eb129dea7 (patch)
tree139fb7229bac1fc278fccda0812b18992a4962cf /package/log4cxx/log4cxx-0003-missing-includes.patch
parenta00fc22779983440d0bec2b996b55f4064079e55 (diff)
downloadbuildroot-novena-6ebb930b694e97e5cf85a724957d9c0eb129dea7.tar.gz
buildroot-novena-6ebb930b694e97e5cf85a724957d9c0eb129dea7.zip
log4cxx: new package
Initial work done by Aleksandar Zivkovic at http://patchwork.ozlabs.org/patch/171109/. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/log4cxx/log4cxx-0003-missing-includes.patch')
-rw-r--r--package/log4cxx/log4cxx-0003-missing-includes.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/log4cxx/log4cxx-0003-missing-includes.patch b/package/log4cxx/log4cxx-0003-missing-includes.patch
new file mode 100644
index 000000000..cd21bbab3
--- /dev/null
+++ b/package/log4cxx/log4cxx-0003-missing-includes.patch
@@ -0,0 +1,21 @@
+commit ce62c00ea5f9bf2f0740ecde5b245c9b7edc80ff
+Author: Curtis William Arnold <carnold@apache.org>
+Date: Mon Apr 27 03:53:50 2009 +0000
+
+ LOGCXX-332: fails to build with gcc 4.4
+
+ git-svn-id: https://svn.apache.org/repos/asf/logging/log4cxx/trunk@768863 13f79535-47bb-0310-9956-ffa450edef68
+
+diff --git a/src/examples/cpp/console.cpp b/src/examples/cpp/console.cpp
+index a673a10..f44c944 100755
+--- a/src/examples/cpp/console.cpp
++++ b/src/examples/cpp/console.cpp
+@@ -23,6 +23,8 @@
+ #include <iostream>
+ #include <locale.h>
+ #include <cstring>
++#include <cstdio>
++#include <stdint.h>
+
+ using namespace log4cxx;
+ using namespace log4cxx::helpers;