diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-25 21:45:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-25 21:45:51 +0000 |
commit | 1f3982529af00b99600972ce56d301d4999d874b (patch) | |
tree | 806975dcaa6a08712d32aa8e8ba69dc29a59c742 | |
parent | 32eb647b80466fd04e736c2718fc53aef730f012 (diff) | |
download | pkgsrc-1f3982529af00b99600972ce56d301d4999d874b.tar.gz |
Fix build with modern GCC
4 files changed, 40 insertions, 1 deletions
diff --git a/devel/log4cxx/distinfo b/devel/log4cxx/distinfo index 243f0bc6d1c..6c7710830b7 100644 --- a/devel/log4cxx/distinfo +++ b/devel/log4cxx/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2011/01/31 17:27:43 reed Exp $ +$NetBSD: distinfo,v 1.2 2011/11/25 21:45:51 joerg Exp $ SHA1 (apache-log4cxx-0.10.0.tar.gz) = d79c053e8ac90f66c5e873b712bb359fd42b648d RMD160 (apache-log4cxx-0.10.0.tar.gz) = 6df384e5c746c3c6903efae6c9f0d64e4f07a5ad Size (apache-log4cxx-0.10.0.tar.gz) = 1667425 bytes +SHA1 (patch-src_examples_cpp_console.cpp) = 203b987f6a324c906c9ca5a19113190bdb3bfb79 +SHA1 (patch-src_main_cpp_inputstreamreader.cpp) = a4540a7154a11d12928829eac76c44fbcabc41bb +SHA1 (patch-src_main_cpp_socketoutputstream.cpp) = ebfd51ed3cb86f2995571ba70a82fba5c2ddb7ce diff --git a/devel/log4cxx/patches/patch-src_examples_cpp_console.cpp b/devel/log4cxx/patches/patch-src_examples_cpp_console.cpp new file mode 100644 index 00000000000..33c75068eed --- /dev/null +++ b/devel/log4cxx/patches/patch-src_examples_cpp_console.cpp @@ -0,0 +1,12 @@ +$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> diff --git a/devel/log4cxx/patches/patch-src_main_cpp_inputstreamreader.cpp b/devel/log4cxx/patches/patch-src_main_cpp_inputstreamreader.cpp new file mode 100644 index 00000000000..203890f0dc8 --- /dev/null +++ b/devel/log4cxx/patches/patch-src_main_cpp_inputstreamreader.cpp @@ -0,0 +1,12 @@ +$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; diff --git a/devel/log4cxx/patches/patch-src_main_cpp_socketoutputstream.cpp b/devel/log4cxx/patches/patch-src_main_cpp_socketoutputstream.cpp new file mode 100644 index 00000000000..d8c0c4fae03 --- /dev/null +++ b/devel/log4cxx/patches/patch-src_main_cpp_socketoutputstream.cpp @@ -0,0 +1,12 @@ +$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; |