summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2008-04-01 15:48:32 +0000
committerDaniel Black <dragonheart@gentoo.org>2008-04-01 15:48:32 +0000
commite3320e39722fb29d8f413ff6227440267c9e8fb0 (patch)
tree628c45d055aac82150277994a59ef14e1a3814ee /dev-libs/blitz/files
parentAdd warning. (diff)
downloadgentoo-2-e3320e39722fb29d8f413ff6227440267c9e8fb0.tar.gz
gentoo-2-e3320e39722fb29d8f413ff6227440267c9e8fb0.tar.bz2
gentoo-2-e3320e39722fb29d8f413ff6227440267c9e8fb0.zip
gcc-4.3 compatible patch poached from debian thanks to the watchful eye of Jan - bug #214084 referes
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-libs/blitz/files')
-rw-r--r--dev-libs/blitz/files/blitz-0.9-gcc-4.3-missing-includes.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/blitz/files/blitz-0.9-gcc-4.3-missing-includes.patch b/dev-libs/blitz/files/blitz-0.9-gcc-4.3-missing-includes.patch
new file mode 100644
index 000000000000..64ca31c38a7a
--- /dev/null
+++ b/dev-libs/blitz/files/blitz-0.9-gcc-4.3-missing-includes.patch
@@ -0,0 +1,20 @@
+--- blitz-0.9.orig/blitz/funcs.h
++++ blitz-0.9/blitz/funcs.h
+@@ -30,6 +30,7 @@
+ #include <blitz/blitz.h>
+ #include <blitz/promote.h>
+ #include <blitz/prettyprint.h>
++#include <cstdlib>
+
+ BZ_NAMESPACE(blitz)
+
+--- blitz-0.9.orig/blitz/prettyprint.h
++++ blitz-0.9/blitz/prettyprint.h
+@@ -27,6 +27,7 @@
+
+ #ifndef BZ_PRETTYPRINT_H
+ #define BZ_PRETTYPRINT_H
++#include <cstdlib>
+
+ BZ_NAMESPACE(blitz)
+