1 |
omp 08/04/24 08:50:36 |
2 |
|
3 |
Added: fbdesk-1.4.1-gcc-4.3.patch |
4 |
Log: |
5 |
Compile with GCC 4.3; patch by Peter Alfredsen. (bug #218336) |
6 |
(Portage version: 2.1.5_rc3) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: fbdesk-1.4.1-gcc-4.3.patch |
15 |
=================================================================== |
16 |
--- fbdesk-1.4.1.orig/src/FbDesk.cc 2008-04-18 22:42:17.000000000 +0200 |
17 |
+++ fbdesk-1.4.1/src/FbDesk.cc 2008-04-18 23:23:53.000000000 +0200 |
18 |
@@ -37,10 +37,11 @@ |
19 |
#include <iostream> |
20 |
#include <fstream> |
21 |
#include <algorithm> |
22 |
#include <unistd.h> |
23 |
#include <cstdio> |
24 |
+#include <cstring> |
25 |
|
26 |
using namespace std; |
27 |
using namespace FbTk; |
28 |
|
29 |
|
30 |
--- fbdesk-1.4.1.orig/src/FbTk/FbPixmap.cc 2008-04-18 22:42:17.000000000 +0200 |
31 |
+++ fbdesk-1.4.1/src/FbTk/FbPixmap.cc 2008-04-18 22:55:06.000000000 +0200 |
32 |
@@ -28,10 +28,11 @@ |
33 |
|
34 |
#include <X11/Xutil.h> |
35 |
#include <X11/Xatom.h> |
36 |
#include <iostream> |
37 |
#include <string> |
38 |
+#include <cstring> |
39 |
|
40 |
using namespace std; |
41 |
|
42 |
namespace FbTk { |
43 |
|
44 |
--- fbdesk-1.4.1.orig/src/FbTk/KeyUtil.cc 2008-04-18 22:42:17.000000000 +0200 |
45 |
+++ fbdesk-1.4.1/src/FbTk/KeyUtil.cc 2008-04-18 22:56:17.000000000 +0200 |
46 |
@@ -23,10 +23,11 @@ |
47 |
|
48 |
#include "KeyUtil.hh" |
49 |
#include "App.hh" |
50 |
|
51 |
#include <string> |
52 |
+#include <cstring> |
53 |
|
54 |
namespace { |
55 |
|
56 |
struct t_modlist{ |
57 |
char *str; |
58 |
--- fbdesk-1.4.1.orig/src/FbTk/StringUtil.cc 2008-04-18 22:42:17.000000000 +0200 |
59 |
+++ fbdesk-1.4.1/src/FbTk/StringUtil.cc 2008-04-18 22:52:54.000000000 +0200 |
60 |
@@ -47,10 +47,11 @@ |
61 |
|
62 |
|
63 |
#include <memory> |
64 |
#include <algorithm> |
65 |
#include <string> |
66 |
+#include <cstring> |
67 |
|
68 |
using std::string; |
69 |
using std::transform; |
70 |
|
71 |
namespace FbTk { |
72 |
--- fbdesk-1.4.1.orig/src/FbTk/TextBox.cc 2008-04-18 22:42:17.000000000 +0200 |
73 |
+++ fbdesk-1.4.1/src/FbTk/TextBox.cc 2008-04-18 22:58:22.000000000 +0200 |
74 |
@@ -34,10 +34,11 @@ |
75 |
#endif |
76 |
#include <X11/keysym.h> |
77 |
#include <X11/Xutil.h> |
78 |
|
79 |
#include <iostream> |
80 |
+#include <cstdlib> |
81 |
|
82 |
namespace FbTk { |
83 |
|
84 |
TextBox::TextBox(int screen_num, |
85 |
const Font &font, const std::string &text): |
86 |
--- fbdesk-1.4.1.orig/src/FbTk/TextureRender.cc 2008-04-18 22:42:17.000000000 +0200 |
87 |
+++ fbdesk-1.4.1/src/FbTk/TextureRender.cc 2008-04-18 22:48:18.000000000 +0200 |
88 |
@@ -31,10 +31,11 @@ |
89 |
#include "FbPixmap.hh" |
90 |
#include "GContext.hh" |
91 |
|
92 |
#include <iostream> |
93 |
#include <string> |
94 |
+#include <cstring> |
95 |
#ifdef HAVE_CSTDIO |
96 |
#include <cstdio> |
97 |
#else |
98 |
#include <stdio.h> |
99 |
#endif |
100 |
--- fbdesk-1.4.1.orig/src/FbTk/Theme.cc 2008-04-18 22:42:17.000000000 +0200 |
101 |
+++ fbdesk-1.4.1/src/FbTk/Theme.cc 2008-04-18 22:49:14.000000000 +0200 |
102 |
@@ -34,10 +34,11 @@ |
103 |
#else |
104 |
#include <stdio.h> |
105 |
#endif |
106 |
#include <memory> |
107 |
#include <iostream> |
108 |
+#include <algorithm> |
109 |
|
110 |
using namespace std; |
111 |
|
112 |
namespace FbTk { |
113 |
|
114 |
--- fbdesk-1.4.1.orig/src/FbTk/ThemeItems.cc 2008-04-18 22:42:17.000000000 +0200 |
115 |
+++ fbdesk-1.4.1/src/FbTk/ThemeItems.cc 2008-04-18 23:22:03.000000000 +0200 |
116 |
@@ -46,10 +46,12 @@ |
117 |
#include <stdio.h> |
118 |
#endif |
119 |
|
120 |
#include <iostream> |
121 |
#include <memory> |
122 |
+#include <cstdlib> |
123 |
+#include <cstring> |
124 |
|
125 |
namespace FbTk { |
126 |
|
127 |
using std::string; |
128 |
using std::cerr; |
129 |
--- fbdesk-1.4.1.orig/src/FbTk/XFontImp.cc 2008-04-18 22:42:17.000000000 +0200 |
130 |
+++ fbdesk-1.4.1/src/FbTk/XFontImp.cc 2008-04-18 22:45:31.000000000 +0200 |
131 |
@@ -26,10 +26,11 @@ |
132 |
#include "GContext.hh" |
133 |
#include "FbPixmap.hh" |
134 |
|
135 |
#include <X11/Xutil.h> |
136 |
|
137 |
+#include <cstdlib> |
138 |
#include <iostream> |
139 |
#include <new> |
140 |
#ifdef HAVE_CSTDIO |
141 |
#include <cstdio> |
142 |
#else |
143 |
--- fbdesk-1.4.1.orig/src/main.cc 2008-04-18 22:42:17.000000000 +0200 |
144 |
+++ fbdesk-1.4.1/src/main.cc 2008-04-18 23:24:47.000000000 +0200 |
145 |
@@ -21,14 +21,16 @@ |
146 |
|
147 |
#include "App.hh" |
148 |
#include "FbDesk.hh" |
149 |
#include "version.h" |
150 |
|
151 |
+#include <cstdlib> |
152 |
#include <iostream> |
153 |
#include <stdexcept> |
154 |
#include <signal.h> |
155 |
#include <sys/wait.h> |
156 |
+#include <cstring> |
157 |
|
158 |
using namespace std; |
159 |
|
160 |
/// handles system signals |
161 |
void signalhandler(int sig) { |
162 |
|
163 |
|
164 |
|
165 |
-- |
166 |
gentoo-commits@l.g.o mailing list |