upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / bbpager / trunk / 02_gcc43.dpatch
blob18b8a8c3dd2e69b10a6b669bba0d0d81ecb25ac7
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 02_gcc43.dpatch by Kevin Coyner <kcoyner@debian.org>
3 ##
4 ## DP: patch to fix missing #include statement for GCC 4.3
5 ## DP: see Debian bug #456071 and #474811
7 @DPATCH@
8 diff -urNad bbpager-0.4.7~/src/Baseresource.cxx bbpager-0.4.7/src/Baseresource.cxx
9 --- bbpager-0.4.7~/src/Baseresource.cxx 2008-03-28 06:55:16.000000000 -0400
10 +++ bbpager-0.4.7/src/Baseresource.cxx 2008-04-09 21:58:03.000000000 -0400
11 @@ -20,6 +20,7 @@
14 #include <string>
15 +#include <cstring>
16 #include "Baseresource.h"
17 #include <stdio.h>
18 #include "Menu.hh"
19 diff -urNad bbpager-0.4.7~/src/main.cxx bbpager-0.4.7/src/main.cxx
20 --- bbpager-0.4.7~/src/main.cxx 2008-03-28 06:55:16.000000000 -0400
21 +++ bbpager-0.4.7/src/main.cxx 2008-04-09 21:58:03.000000000 -0400
22 @@ -25,6 +25,7 @@
24 #include <stdio.h>
25 #include <string>
26 +#include <cstring>
27 #include <iostream>
30 diff -urNad bbpager-0.4.7~/src/resource.cxx bbpager-0.4.7/src/resource.cxx
31 --- bbpager-0.4.7~/src/resource.cxx 2007-03-11 17:47:07.000000000 -0400
32 +++ bbpager-0.4.7/src/resource.cxx 2008-04-09 21:58:39.000000000 -0400
33 @@ -19,6 +19,7 @@
34 // (See the included file COPYING / GPL-2.0)
37 +#include <cstring>
38 #include "resource.h"
39 #include "blackboxstyle.h"