From b98abbd72bc8bae44df6a247255b9cf2f88c2450 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 28 Dec 2007 04:08:41 +0100 Subject: [PATCH] Added gcc4.3-includes.dpatch to add missing includes required by gcc-4.3. --- debian/changelog | 3 ++- debian/patches/00list | 1 + debian/patches/gcc4.3-includes.dpatch | 29 +++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 debian/patches/gcc4.3-includes.dpatch diff --git a/debian/changelog b/debian/changelog index 8427e85..a7ab592 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 30 Nov 2007 15:37:42 +0000 + -- Sebastian Harl Fri, 28 Dec 2007 02:46:07 +0100 diff --git a/debian/patches/00list b/debian/patches/00list index d1c5651..69a7b12 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -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 index 0000000..0d05417 --- /dev/null +++ b/debian/patches/gcc4.3-includes.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## gcc4.3-includes.dpatch by Sebastian Harl +## +## 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 ++ + #include // 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 ++ + #include + + #include "gpu.h" -- 2.30.2