1 |
omp 08/04/24 08:55:05 |
2 |
|
3 |
Added: bbkeys-0.9.0-gcc-4.3.patch |
4 |
Log: |
5 |
Compile with GCC 4.3; patch from Fedora. (bug #217980) |
6 |
(Portage version: 2.1.5_rc3) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 x11-misc/bbkeys/files/bbkeys-0.9.0-gcc-4.3.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/bbkeys/files/bbkeys-0.9.0-gcc-4.3.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/bbkeys/files/bbkeys-0.9.0-gcc-4.3.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: bbkeys-0.9.0-gcc-4.3.patch |
15 |
=================================================================== |
16 |
diff -Naupr bbkeys-0.9.0.orig/src/actions.cc bbkeys-0.9.0/src/actions.cc |
17 |
--- bbkeys-0.9.0.orig/src/actions.cc 2005-02-20 22:03:43.000000000 +0100 |
18 |
+++ bbkeys-0.9.0/src/actions.cc 2008-02-24 09:26:30.000000000 +0100 |
19 |
@@ -25,7 +25,8 @@ |
20 |
#include "actions.hh" |
21 |
|
22 |
#include <iostream> |
23 |
-#include <string> |
24 |
+#include <cstring> |
25 |
+#include <cstdlib> |
26 |
#include <sstream> |
27 |
|
28 |
Action::Action(enum ActionType type, Display * display, KeyCode keycode, |
29 |
diff -Naupr bbkeys-0.9.0.orig/src/Config.cpp bbkeys-0.9.0/src/Config.cpp |
30 |
--- bbkeys-0.9.0.orig/src/Config.cpp 2004-09-03 03:08:00.000000000 +0200 |
31 |
+++ bbkeys-0.9.0/src/Config.cpp 2008-02-24 09:29:55.000000000 +0100 |
32 |
@@ -24,7 +24,7 @@ |
33 |
|
34 |
|
35 |
#include "Config.h" |
36 |
-#include <string> |
37 |
+#include <cstring> |
38 |
|
39 |
#include <iostream> |
40 |
using std::cout; |
41 |
diff -Naupr bbkeys-0.9.0.orig/src/KeyClient.cpp bbkeys-0.9.0/src/KeyClient.cpp |
42 |
--- bbkeys-0.9.0.orig/src/KeyClient.cpp 2004-09-26 04:27:46.000000000 +0200 |
43 |
+++ bbkeys-0.9.0/src/KeyClient.cpp 2008-02-24 09:26:14.000000000 +0100 |
44 |
@@ -58,6 +58,7 @@ extern "C" { |
45 |
#include <iostream> |
46 |
#include <algorithm> |
47 |
#include <vector> |
48 |
+#include <cstring> |
49 |
|
50 |
//-------------------------------------------------------- |
51 |
// Constructor/Destructor |
52 |
diff -Naupr bbkeys-0.9.0.orig/src/main.cpp bbkeys-0.9.0/src/main.cpp |
53 |
--- bbkeys-0.9.0.orig/src/main.cpp 2004-09-16 02:53:51.000000000 +0200 |
54 |
+++ bbkeys-0.9.0/src/main.cpp 2008-02-24 09:31:38.000000000 +0100 |
55 |
@@ -27,6 +27,8 @@ |
56 |
|
57 |
#include "main.h" |
58 |
|
59 |
+#include <cstring> |
60 |
+ |
61 |
//-------------------------------------------------------- |
62 |
// parseOptions |
63 |
//-------------------------------------------------------- |
64 |
diff -Naupr bbkeys-0.9.0.orig/src/Netclient.cpp bbkeys-0.9.0/src/Netclient.cpp |
65 |
--- bbkeys-0.9.0.orig/src/Netclient.cpp 2004-09-26 04:27:46.000000000 +0200 |
66 |
+++ bbkeys-0.9.0/src/Netclient.cpp 2008-02-24 09:30:41.000000000 +0100 |
67 |
@@ -25,6 +25,7 @@ |
68 |
// Methods, ideas, implementations taken from Openbox's XAtom class *sigh* |
69 |
|
70 |
#include "Netclient.h" |
71 |
+#include <cstring> |
72 |
|
73 |
Netclient::Netclient (const bt::Display &display) |
74 |
: bt::EWMH(display), _display(display) |
75 |
|
76 |
|
77 |
|
78 |
-- |
79 |
gentoo-commits@l.g.o mailing list |