You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/scipy/files/scipy-0.12.0-blitz.patch

29 lines
731 B

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 {