From 945eb7392d28d033f7367614c1b4052f1d3be657 Mon Sep 17 00:00:00 2001
From: Lukas Bulwahn <lukas.bulwahn@bmw-carit.de>
Date: Wed, 5 Dec 2012 09:06:16 +0100
Subject: [PATCH] adding another patch for log4cxx (cf.
 https://issues.apache.org/jira/browse/LOGCXX-395)

---
 .../0003-log4cxx-0.10.0-add_stdio_header.patch      | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta/recipes-devtools/log4cxx/log4cxx/0003-log4cxx-0.10.0-add_stdio_header.patch

diff --git a/meta/recipes-devtools/log4cxx/log4cxx/0003-log4cxx-0.10.0-add_stdio_header.patch b/meta/recipes-devtools/log4cxx/log4cxx/0003-log4cxx-0.10.0-add_stdio_header.patch
new file mode 100644
index 0000000..6836069
--- /dev/null
+++ b/meta/recipes-devtools/log4cxx/log4cxx/0003-log4cxx-0.10.0-add_stdio_header.patch
@@ -0,0 +1,13 @@
+diff -cr apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp apache-log4cxx-0.10.0/src/examples/cpp/console.cpp
+*** apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp	2012-12-05 08:55:15.750389873 +0100
+--- apache-log4cxx-0.10.0/src/examples/cpp/console.cpp	2012-12-05 08:56:09.538392104 +0100
+***************
+*** 16,21 ****
+--- 16,22 ----
+   */
+  
+  #include <stdlib.h>
++ #include <stdio.h>
+  #include <log4cxx/logger.h>
+  #include <log4cxx/consoleappender.h>
+  #include <log4cxx/simplelayout.h>
-- 
GitLab