summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-02-03 10:03:53 +0000
committerPeter Volkov <pva@gentoo.org>2009-02-03 10:03:53 +0000
commitca4747888715585bf01059f738b7c940eeb44c2e (patch)
tree0f1cc9393e3e49258b4f419b23aba0a518a5d2f3 /net-analyzer/nepenthes/files
parentNew and improved django-1.0.2 ebuild. Thanks to Matt Summers and Nirbheek Cha... (diff)
downloadgentoo-2-ca4747888715585bf01059f738b7c940eeb44c2e.tar.gz
gentoo-2-ca4747888715585bf01059f738b7c940eeb44c2e.tar.bz2
gentoo-2-ca4747888715585bf01059f738b7c940eeb44c2e.zip
Fixed build issue with newer compiler, bug #251437, thank Diego E. 'Flameeyes' Pettenò for report and Michael Mair-Keimberger for making us reopen and finally fix bug.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/nepenthes/files')
-rw-r--r--net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch b/net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch
new file mode 100644
index 000000000000..bb4401754805
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch
@@ -0,0 +1,26 @@
+=== modified file 'nepenthes-core/include/Config.hpp'
+--- nepenthes-core/include/Config.hpp 2009-02-03 09:39:19 +0000
++++ nepenthes-core/include/Config.hpp 2009-02-03 09:40:10 +0000
+@@ -32,6 +32,8 @@
+
+ #include <vector>
+ #include <map>
++#include <cstring>
++#include <stdlib.h>
+
+ // mmap()
+ #ifdef WIN32
+
+=== modified file 'nepenthes-core/include/Nepenthes.hpp'
+--- nepenthes-core/include/Nepenthes.hpp 2009-02-03 09:39:19 +0000
++++ nepenthes-core/include/Nepenthes.hpp 2009-02-03 09:40:12 +0000
+@@ -40,6 +40,8 @@
+
+ #include <stdint.h>
+ #include <string>
++#include <cstring>
++#include <cstdlib>
+
+ typedef unsigned char byte;
+
+