summaryrefslogtreecommitdiff
path: root/community/bbpager/02_gcc43.dpatch
blob: 18b8a8c3dd2e69b10a6b669bba0d0d81ecb25ac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_gcc43.dpatch by Kevin Coyner <kcoyner@debian.org>
##
## DP: patch to fix missing #include statement for GCC 4.3
## DP: see Debian bug #456071 and #474811

@DPATCH@
diff -urNad bbpager-0.4.7~/src/Baseresource.cxx bbpager-0.4.7/src/Baseresource.cxx
--- bbpager-0.4.7~/src/Baseresource.cxx	2008-03-28 06:55:16.000000000 -0400
+++ bbpager-0.4.7/src/Baseresource.cxx	2008-04-09 21:58:03.000000000 -0400
@@ -20,6 +20,7 @@
 //
 
 #include <string>
+#include <cstring>
 #include "Baseresource.h"
 #include <stdio.h>
 #include "Menu.hh"
diff -urNad bbpager-0.4.7~/src/main.cxx bbpager-0.4.7/src/main.cxx
--- bbpager-0.4.7~/src/main.cxx	2008-03-28 06:55:16.000000000 -0400
+++ bbpager-0.4.7/src/main.cxx	2008-04-09 21:58:03.000000000 -0400
@@ -25,6 +25,7 @@
 
 #include <stdio.h>
 #include <string>
+#include <cstring>
 #include <iostream>
 
 
diff -urNad bbpager-0.4.7~/src/resource.cxx bbpager-0.4.7/src/resource.cxx
--- bbpager-0.4.7~/src/resource.cxx	2007-03-11 17:47:07.000000000 -0400
+++ bbpager-0.4.7/src/resource.cxx	2008-04-09 21:58:39.000000000 -0400
@@ -19,6 +19,7 @@
 // (See the included file COPYING / GPL-2.0)
 //
 
+#include <cstring>
 #include "resource.h"
 #include "blackboxstyle.h"