Fri Nov 25 21:45:52 2011 UTC ()
Fix build with modern GCC


(joerg)
diff -r1.1.1.1 -r1.2 pkgsrc/devel/log4cxx/distinfo
diff -r0 -r1.1 pkgsrc/devel/log4cxx/patches/patch-src_examples_cpp_console.cpp
diff -r0 -r1.1 pkgsrc/devel/log4cxx/patches/patch-src_main_cpp_inputstreamreader.cpp
diff -r0 -r1.1 pkgsrc/devel/log4cxx/patches/patch-src_main_cpp_socketoutputstream.cpp

cvs diff -r1.1.1.1 -r1.2 pkgsrc/devel/log4cxx/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/log4cxx/distinfo 2011/01/31 17:27:43 1.1.1.1
+++ pkgsrc/devel/log4cxx/distinfo 2011/11/25 21:45:51 1.2
@@ -1,5 +1,8 @@ @@ -1,5 +1,8 @@
1$NetBSD: distinfo,v 1.1.1.1 2011/01/31 17:27:43 reed Exp $ 1$NetBSD: distinfo,v 1.2 2011/11/25 21:45:51 joerg Exp $
2 2
3SHA1 (apache-log4cxx-0.10.0.tar.gz) = d79c053e8ac90f66c5e873b712bb359fd42b648d 3SHA1 (apache-log4cxx-0.10.0.tar.gz) = d79c053e8ac90f66c5e873b712bb359fd42b648d
4RMD160 (apache-log4cxx-0.10.0.tar.gz) = 6df384e5c746c3c6903efae6c9f0d64e4f07a5ad 4RMD160 (apache-log4cxx-0.10.0.tar.gz) = 6df384e5c746c3c6903efae6c9f0d64e4f07a5ad
5Size (apache-log4cxx-0.10.0.tar.gz) = 1667425 bytes 5Size (apache-log4cxx-0.10.0.tar.gz) = 1667425 bytes
 6SHA1 (patch-src_examples_cpp_console.cpp) = 203b987f6a324c906c9ca5a19113190bdb3bfb79
 7SHA1 (patch-src_main_cpp_inputstreamreader.cpp) = a4540a7154a11d12928829eac76c44fbcabc41bb
 8SHA1 (patch-src_main_cpp_socketoutputstream.cpp) = ebfd51ed3cb86f2995571ba70a82fba5c2ddb7ce

File Added: pkgsrc/devel/log4cxx/patches/patch-src_examples_cpp_console.cpp
$NetBSD: patch-src_examples_cpp_console.cpp,v 1.1 2011/11/25 21:45:52 joerg Exp $

--- src/examples/cpp/console.cpp.orig	2011-11-25 19:53:15.000000000 +0000
+++ src/examples/cpp/console.cpp
@@ -16,6 +16,7 @@
  */
 
 #include <stdlib.h>
+#include <cstring>
 #include <log4cxx/logger.h>
 #include <log4cxx/consoleappender.h>
 #include <log4cxx/simplelayout.h>

File Added: pkgsrc/devel/log4cxx/patches/patch-src_main_cpp_inputstreamreader.cpp
$NetBSD: patch-src_main_cpp_inputstreamreader.cpp,v 1.1 2011/11/25 21:45:52 joerg Exp $

--- src/main/cpp/inputstreamreader.cpp.orig	2011-11-25 19:46:39.000000000 +0000
+++ src/main/cpp/inputstreamreader.cpp
@@ -20,6 +20,7 @@
 #include <log4cxx/helpers/exception.h>
 #include <log4cxx/helpers/pool.h>
 #include <log4cxx/helpers/bytebuffer.h>
+#include <cstring>
 
 using namespace log4cxx;
 using namespace log4cxx::helpers;

File Added: pkgsrc/devel/log4cxx/patches/patch-src_main_cpp_socketoutputstream.cpp
$NetBSD: patch-src_main_cpp_socketoutputstream.cpp,v 1.1 2011/11/25 21:45:52 joerg Exp $

--- src/main/cpp/socketoutputstream.cpp.orig	2011-11-25 19:49:58.000000000 +0000
+++ src/main/cpp/socketoutputstream.cpp
@@ -19,6 +19,7 @@
 #include <log4cxx/helpers/socketoutputstream.h>
 #include <log4cxx/helpers/socket.h>
 #include <log4cxx/helpers/bytebuffer.h>
+#include <cstring>
 
 using namespace log4cxx;
 using namespace log4cxx::helpers;