Code

Added gcc4.3-includes.dpatch to add missing includes required by gcc-4.3.
authorSebastian Harl <sh@tokkee.org>
Fri, 28 Dec 2007 03:08:41 +0000 (04:08 +0100)
committerSebastian Harl <sh@tokkee.org>
Fri, 28 Dec 2007 03:08:41 +0000 (04:08 +0100)
debian/changelog
debian/patches/00list
debian/patches/gcc4.3-includes.dpatch [new file with mode: 0644]

index 8427e85991cb3a83ef7716a08dcaf8384f9b71d3..a7ab59204dfd01df4cfe773f043e1951d2850a50 100644 (file)
@@ -3,6 +3,7 @@ enblend (3.0+dfsg-1) unstable; urgency=low
   * Initial release (Closes: #294389, #390655).
   * Removed GPL incompatible src/win32helpers/ from .orig.tar.gz.
   * Added type_mismatch.dpatch to fix a failure to instantiate std::max().
+  * Added gcc4.3-includes.dpatch to add missing includes required by gcc-4.3.
 
- -- Sebastian Harl <sh@tokkee.org>  Fri, 30 Nov 2007 15:37:42 +0000
+ -- Sebastian Harl <sh@tokkee.org>  Fri, 28 Dec 2007 02:46:07 +0100
 
index d1c565170e6aed999566265359b6b73e0c611cf2..69a7b12b537e8362838220beb15fa0d72d159b2b 100644 (file)
@@ -1,2 +1,3 @@
 type_mismatch.dpatch
+gcc4.3-includes.dpatch
 
diff --git a/debian/patches/gcc4.3-includes.dpatch b/debian/patches/gcc4.3-includes.dpatch
new file mode 100644 (file)
index 0000000..0d05417
--- /dev/null
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## gcc4.3-includes.dpatch by Sebastian Harl <sh@tokkee.org>
+##
+## DP: This patch adds missing includes required by gcc-4.3.
+
+@DPATCH@
+
+--- a/include/vigra/imageiteratoradapter.hxx   2007-01-27 05:54:46.000000000 +0100
++++ b/include/vigra/imageiteratoradapter.hxx   2007-12-27 18:15:52.000000000 +0100
+@@ -38,6 +38,8 @@
+ #ifndef VIGRA_IMAGEITERATORADAPTER_HXX
+ #define VIGRA_IMAGEITERATORADAPTER_HXX
++#include <cstdlib>
++
+ #include <iterator>   // iterator tags
+ namespace vigra {
+--- a/src/gpu.cc       2006-12-08 09:40:58.000000000 +0100
++++ b/src/gpu.cc       2007-12-28 04:04:49.000000000 +0100
+@@ -18,6 +18,8 @@
+  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+  */
++#include <cstdlib>
++
+ #include <iostream>
+ #include "gpu.h"