1 |
omp 08/04/24 07:29:45 |
2 |
|
3 |
Added: pekwm-0.1.6-gcc-4.3.patch |
4 |
Log: |
5 |
Compile with GCC 4.3; patch from Debian modified by Peter Alfredsen. (bug #218956) |
6 |
(Portage version: 2.1.5_rc3) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 x11-wm/pekwm/files/pekwm-0.1.6-gcc-4.3.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/pekwm/files/pekwm-0.1.6-gcc-4.3.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/pekwm/files/pekwm-0.1.6-gcc-4.3.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: pekwm-0.1.6-gcc-4.3.patch |
15 |
=================================================================== |
16 |
--- pekwm-0.1.6.orig/src/CfgParser.cc 2007-05-08 10:10:13.000000000 +0200 |
17 |
+++ pekwm-0.1.6/src/CfgParser.cc 2008-04-22 22:41:21.000000000 +0200 |
18 |
@@ -11,10 +11,11 @@ |
19 |
#include "Util.hh" |
20 |
|
21 |
#include <iostream> |
22 |
#include <memory> |
23 |
#include <cassert> |
24 |
+#include <cstring> |
25 |
|
26 |
#ifdef HAVE_GETTEXT |
27 |
#include <libintl.h> |
28 |
#define _(S) gettext(S) |
29 |
#else // !HAVE_GETTEXT |
30 |
--- pekwm-0.1.6.orig/src/CfgParser.hh 2007-05-08 10:10:13.000000000 +0200 |
31 |
+++ pekwm-0.1.6/src/CfgParser.hh 2008-04-22 22:41:21.000000000 +0200 |
32 |
@@ -30,10 +30,11 @@ |
33 |
|
34 |
#include <list> |
35 |
#include <map> |
36 |
#include <set> |
37 |
#include <string> |
38 |
+#include <cstring> |
39 |
#include <iostream> |
40 |
#include <cstdlib> |
41 |
|
42 |
//! @brief Configuration file parser. |
43 |
class CfgParser { |
44 |
--- pekwm-0.1.6.orig/src/CfgParserSource.cc 2007-05-08 10:10:13.000000000 +0200 |
45 |
+++ pekwm-0.1.6/src/CfgParserSource.cc 2008-04-22 22:41:21.000000000 +0200 |
46 |
@@ -11,10 +11,11 @@ |
47 |
// |
48 |
|
49 |
#include "CfgParserSource.hh" |
50 |
#include "Util.hh" |
51 |
|
52 |
+#include <cstdlib> |
53 |
#include <iostream> |
54 |
|
55 |
extern "C" { |
56 |
#include <unistd.h> |
57 |
} |
58 |
--- pekwm-0.1.6.orig/src/ColorHandler.cc 2007-05-08 10:10:13.000000000 +0200 |
59 |
+++ pekwm-0.1.6/src/ColorHandler.cc 2008-04-22 22:41:21.000000000 +0200 |
60 |
@@ -5,10 +5,11 @@ |
61 |
// See the LICENSE file for more information. |
62 |
// |
63 |
|
64 |
#include "ColorHandler.hh" |
65 |
#include "PScreen.hh" |
66 |
+#include <cstring> |
67 |
|
68 |
#ifdef DEBUG |
69 |
#include <iostream> |
70 |
using std::cerr; |
71 |
using std::endl; |
72 |
--- pekwm-0.1.6.orig/src/ColorHandler.hh 2007-05-08 10:10:13.000000000 +0200 |
73 |
+++ pekwm-0.1.6/src/ColorHandler.hh 2008-04-22 22:41:21.000000000 +0200 |
74 |
@@ -13,10 +13,11 @@ |
75 |
|
76 |
#include "pekwm.hh" |
77 |
|
78 |
#include <list> |
79 |
#include <string> |
80 |
+#include <cstring> |
81 |
|
82 |
class ColorHandler { |
83 |
public: |
84 |
class Entry { |
85 |
public: |
86 |
--- pekwm-0.1.6.orig/src/PImageNativeLoaderXpm.cc 2007-05-08 10:10:13.000000000 +0200 |
87 |
+++ pekwm-0.1.6/src/PImageNativeLoaderXpm.cc 2008-04-22 22:41:21.000000000 +0200 |
88 |
@@ -11,10 +11,11 @@ |
89 |
#ifdef HAVE_IMAGE_XPM |
90 |
|
91 |
#include "PImageNativeLoaderXpm.hh" |
92 |
|
93 |
#include <iostream> |
94 |
+#include <cstring> |
95 |
|
96 |
using std::cerr; |
97 |
using std::endl; |
98 |
using std::string; |
99 |
|
100 |
--- pekwm-0.1.6.orig/src/RegexString.cc 2007-05-08 10:10:13.000000000 +0200 |
101 |
+++ pekwm-0.1.6/src/RegexString.cc 2008-04-22 22:41:21.000000000 +0200 |
102 |
@@ -9,11 +9,11 @@ |
103 |
// |
104 |
|
105 |
#include "../config.h" |
106 |
|
107 |
#include "RegexString.hh" |
108 |
- |
109 |
+#include <cstdlib> |
110 |
#include <iostream> |
111 |
|
112 |
#ifdef HAVE_GETTEXT |
113 |
#include <libintl.h> |
114 |
#define _(S) gettext(S) |
115 |
--- pekwm-0.1.6.orig/src/Util.cc 2007-05-08 10:10:13.000000000 +0200 |
116 |
+++ pekwm-0.1.6/src/Util.cc 2008-04-22 22:42:12.000000000 +0200 |
117 |
@@ -11,10 +11,11 @@ |
118 |
// |
119 |
|
120 |
#include "../config.h" |
121 |
#include "Util.hh" |
122 |
|
123 |
+#include <cstdlib> |
124 |
#include <algorithm> |
125 |
#include <iostream> |
126 |
#include <sstream> |
127 |
|
128 |
#include <unistd.h> |
129 |
--- pekwm-0.1.6.orig/src/Util.hh 2007-05-08 10:10:13.000000000 +0200 |
130 |
+++ pekwm-0.1.6/src/Util.hh 2008-04-22 22:41:21.000000000 +0200 |
131 |
@@ -12,10 +12,11 @@ |
132 |
#define _UTIL_HH_ |
133 |
|
134 |
#include "Types.hh" |
135 |
|
136 |
#include <string> |
137 |
+#include <cstring> |
138 |
#include <vector> |
139 |
#include <functional> |
140 |
#include <sstream> |
141 |
|
142 |
//! @brief Namespace Util used for various small file/string tasks. |
143 |
|
144 |
|
145 |
|
146 |
-- |
147 |
gentoo-commits@l.g.o mailing list |