diff -Nru python-scipy-0.7.2/debian/changelog python-scipy-0.7.2/debian/changelog --- python-scipy-0.7.2/debian/changelog 2010-06-07 14:52:49.000000000 +0200 +++ python-scipy-0.7.2/debian/changelog 2010-09-29 12:38:39.000000000 +0200 @@ -1,3 +1,10 @@ +python-scipy (0.7.2-2ubuntu1) maverick; urgency=low + + * debian/patches/blitz++.patch: + - Fix scipy.weave.inline compilations (Closes: #302649) + + -- Sameer Morar Wed, 29 Sep 2010 12:36:50 +0200 + python-scipy (0.7.2-2) unstable; urgency=low * debian/patches/string_exceptions.patch: diff -Nru python-scipy-0.7.2/debian/patches/blitz++.patch python-scipy-0.7.2/debian/patches/blitz++.patch --- python-scipy-0.7.2/debian/patches/blitz++.patch 1970-01-01 02:00:00.000000000 +0200 +++ python-scipy-0.7.2/debian/patches/blitz++.patch 2010-09-29 12:55:36.000000000 +0200 @@ -0,0 +1,29 @@ +## Description: Fixes scipy.weave.inline compalition with g++ 4.3 and upwards +## Origin/Author: Sameer Morar +## Bug: https://bugs.launchpad.net/ubuntu/+source/python-scipy/+bug/302649 +Index: python-scipy-0.7.2/scipy/weave/blitz/blitz/blitz.h +=================================================================== +--- python-scipy-0.7.2.orig/scipy/weave/blitz/blitz/blitz.h 2010-09-29 12:36:41.299914362 +0200 ++++ python-scipy-0.7.2/scipy/weave/blitz/blitz/blitz.h 2010-09-29 12:36:08.967914361 +0200 +@@ -65,6 +65,8 @@ + + #define BZ_THROW // Needed in + ++#include ++ + BZ_NAMESPACE(blitz) + + #ifdef BZ_HAVE_STD +Index: python-scipy-0.7.2/scipy/weave/blitz/blitz/mathfunc.h +=================================================================== +--- python-scipy-0.7.2.orig/scipy/weave/blitz/blitz/mathfunc.h 2010-09-29 12:36:41.607914362 +0200 ++++ python-scipy-0.7.2/scipy/weave/blitz/blitz/mathfunc.h 2010-09-29 12:36:25.227914362 +0200 +@@ -12,6 +12,8 @@ + #include + #endif + ++#include ++ + BZ_NAMESPACE(blitz) + + // abs(P_numtype1) Absolute value diff -Nru python-scipy-0.7.2/debian/patches/series python-scipy-0.7.2/debian/patches/series --- python-scipy-0.7.2/debian/patches/series 2010-06-07 14:51:28.000000000 +0200 +++ python-scipy-0.7.2/debian/patches/series 2010-09-29 12:35:06.000000000 +0200 @@ -1,2 +1,3 @@ restore_sys_argv.patch string_exception.patch +blitz++.patch