Code

Added gcc4.3-includes.dpatch to add missing includes required by gcc-4.3.
[pkg-enblend.git] / debian / patches / gcc4.3-includes.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## gcc4.3-includes.dpatch by Sebastian Harl <sh@tokkee.org>
3 ##
4 ## DP: This patch adds missing includes required by gcc-4.3.
6 @DPATCH@
8 --- a/include/vigra/imageiteratoradapter.hxx    2007-01-27 05:54:46.000000000 +0100
9 +++ b/include/vigra/imageiteratoradapter.hxx    2007-12-27 18:15:52.000000000 +0100
10 @@ -38,6 +38,8 @@
11  #ifndef VIGRA_IMAGEITERATORADAPTER_HXX
12  #define VIGRA_IMAGEITERATORADAPTER_HXX
13  
14 +#include <cstdlib>
15 +
16  #include <iterator>   // iterator tags
17  
18  namespace vigra {
19 --- a/src/gpu.cc        2006-12-08 09:40:58.000000000 +0100
20 +++ b/src/gpu.cc        2007-12-28 04:04:49.000000000 +0100
21 @@ -18,6 +18,8 @@
22   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23   */
24  
25 +#include <cstdlib>
26 +
27  #include <iostream>
28  
29  #include "gpu.h"