summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-04-25 16:27:31 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-04-25 16:27:31 +0000
commiteb57157f86551400796bd3654bbf816087471728 (patch)
tree9a91d8c7fda4fca61c1820614b3b45c660825cd3 /sci-libs/scipy/files/scipy-0.12.0-blitz.patch
parentExperimentally add --with-mibdirs="." (bug #249496). (diff)
downloadgentoo-2-eb57157f86551400796bd3654bbf816087471728.tar.gz
gentoo-2-eb57157f86551400796bd3654bbf816087471728.tar.bz2
gentoo-2-eb57157f86551400796bd3654bbf816087471728.zip
Version bump
(Portage version: 2.2.01.21890-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs/scipy/files/scipy-0.12.0-blitz.patch')
-rw-r--r--sci-libs/scipy/files/scipy-0.12.0-blitz.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/sci-libs/scipy/files/scipy-0.12.0-blitz.patch b/sci-libs/scipy/files/scipy-0.12.0-blitz.patch
new file mode 100644
index 000000000000..2817aa39b871
--- /dev/null
+++ b/sci-libs/scipy/files/scipy-0.12.0-blitz.patch
@@ -0,0 +1,28 @@
+Description: Fixes scipy.weave.inline compalition with g++ 4.3 and upwards
+Author: Sameer Morar <smorar@gmail.com>
+Forwarded: http://projects.scipy.org/scipy/scipy/ticket/739
+Bug-Debian: http://bugs.debian.org/598520
+Bug-Ubuntu: https://launchpad.net/bugs/302649
+
+--- a/scipy/weave/blitz/blitz/blitz.h
++++ b/scipy/weave/blitz/blitz/blitz.h
+@@ -65,6 +65,8 @@
+
+ #define BZ_THROW // Needed in <blitz/numinquire.h>
+
++#include <cstdlib>
++
+ BZ_NAMESPACE(blitz)
+
+ #ifdef BZ_HAVE_STD
+--- a/scipy/weave/blitz/blitz/prettyprint.h
++++ b/scipy/weave/blitz/blitz/prettyprint.h
+@@ -22,6 +22,8 @@
+ #ifndef BZ_PRETTYPRINT_H
+ #define BZ_PRETTYPRINT_H
+
++#include <cstdlib>
++
+ BZ_NAMESPACE(blitz)
+
+ class prettyPrintFormat {