diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-06-17 14:52:37 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-06-17 14:52:37 +0200 |
commit | a0a7f90224e419ab8bc68ff51331ab17bafce130 (patch) | |
tree | f1316c75605418027bb84b5e5219fd7302a822d6 /dev-cpp/growler-link/files/0.3.7-gcc4.patch | |
parent | InCvs as sci-libs/punc (diff) | |
download | sci-a0a7f90224e419ab8bc68ff51331ab17bafce130.tar.gz sci-a0a7f90224e419ab8bc68ff51331ab17bafce130.tar.bz2 sci-a0a7f90224e419ab8bc68ff51331ab17bafce130.zip |
Fix for compilation with gcc4.4, #271017
(Portage version: 2.2_rc67/git/Linux x86_64)
(Signed Manifest commit)
Diffstat (limited to 'dev-cpp/growler-link/files/0.3.7-gcc4.patch')
-rw-r--r-- | dev-cpp/growler-link/files/0.3.7-gcc4.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-cpp/growler-link/files/0.3.7-gcc4.patch b/dev-cpp/growler-link/files/0.3.7-gcc4.patch new file mode 100644 index 000000000..fcfbf19fb --- /dev/null +++ b/dev-cpp/growler-link/files/0.3.7-gcc4.patch @@ -0,0 +1,36 @@ +diff --git a/lib/buffer.cxx b/lib/buffer.cxx +index 7b9eda3..12b87ad 100644 +--- a/lib/buffer.cxx ++++ b/lib/buffer.cxx +@@ -6,6 +6,7 @@ + */ + + #include <cstdio> ++#include <cstring> + #include <memory> + #include <stdexcept> + #include <lib/unistd.h> +diff --git a/lib/daemon.cxx b/lib/daemon.cxx +index f289783..78d4883 100644 +--- a/lib/daemon.cxx ++++ b/lib/daemon.cxx +@@ -18,6 +18,7 @@ + #include <sys/stat.h> + #include <sys/wait.h> + #include <pwd.h> ++#include <cstdio> + + #if GR_HAVE_FCNTL_H + #include <fcntl.h> +diff --git a/lib/serialize.h b/lib/serialize.h +index 8fa68f8..0e08c81 100644 +--- a/lib/serialize.h ++++ b/lib/serialize.h +@@ -23,6 +23,7 @@ + #include <streambuf> + #include <string> + #include <cassert> ++#include <cstdio> + + namespace lib { + |