1 |
nyhm 08/05/02 22:35:14 |
2 |
|
3 |
Added: quadra-1.1.8-gcc43.patch |
4 |
Log: |
5 |
Fix building with gcc-4.3 |
6 |
(Portage version: 2.1.5_rc6) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-puzzle/quadra/files/quadra-1.1.8-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/quadra/files/quadra-1.1.8-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/quadra/files/quadra-1.1.8-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: quadra-1.1.8-gcc43.patch |
15 |
=================================================================== |
16 |
--- include/net_list.h |
17 |
+++ include/net_list.h |
18 |
@@ -29,6 +29,7 @@ |
19 |
#include "net_stuff.h" |
20 |
#include "stats.h" |
21 |
#include "game.h" |
22 |
+#include <cstring> |
23 |
|
24 |
class Canvas; |
25 |
|
26 |
--- include/packets.h |
27 |
+++ include/packets.h |
28 |
@@ -27,6 +27,7 @@ |
29 |
#include "game.h" |
30 |
#include "config.h" |
31 |
#include "track.h" |
32 |
+#include <cstring> |
33 |
|
34 |
enum Packet_type { |
35 |
P_CHAT, |
36 |
--- skelton/common/http_request.cpp |
37 |
+++ skelton/common/http_request.cpp |
38 |
@@ -18,7 +18,8 @@ |
39 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
40 |
*/ |
41 |
|
42 |
-#include <stdio.h> |
43 |
+#include <cstdio> |
44 |
+#include <cstring> |
45 |
#include "error.h" |
46 |
#include "net.h" |
47 |
#include "http_request.h" |
48 |
--- skelton/common/res_compress.cpp |
49 |
+++ skelton/common/res_compress.cpp |
50 |
@@ -21,6 +21,7 @@ |
51 |
#include "zlib.h" |
52 |
#undef FAR |
53 |
#include "res_compress.h" |
54 |
+#include <cstring> |
55 |
|
56 |
RCSID("$Id: quadra-1.1.8-gcc43.patch,v 1.1 2008/05/02 22:35:13 nyhm Exp $") |
57 |
|
58 |
--- skelton/common/reswriter.cpp |
59 |
+++ skelton/common/reswriter.cpp |
60 |
@@ -18,7 +18,8 @@ |
61 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
62 |
*/ |
63 |
|
64 |
-#include <stdio.h> |
65 |
+#include <cstdio> |
66 |
+#include <cstring> |
67 |
#include "res.h" |
68 |
#include "resfile.h" |
69 |
|
70 |
--- skelton/include/net_buf.h |
71 |
+++ skelton/include/net_buf.h |
72 |
@@ -23,6 +23,7 @@ |
73 |
|
74 |
#include "types.h" |
75 |
#include "net.h" |
76 |
+#include <cstring> |
77 |
|
78 |
class Net_buf { |
79 |
public: |
80 |
--- skelton/svgalib/main.cpp |
81 |
+++ skelton/svgalib/main.cpp |
82 |
@@ -27,8 +27,9 @@ |
83 |
#ifndef NDEBUG |
84 |
#include <mcheck.h> |
85 |
#endif |
86 |
-#include <stdlib.h> |
87 |
-#include <signal.h> |
88 |
+#include <cstdlib> |
89 |
+#include <csignal> |
90 |
+#include <cstring> |
91 |
|
92 |
#include "debug.h" |
93 |
#include "types.h" |
94 |
--- skelton/svgalib/sound.cpp |
95 |
+++ skelton/svgalib/sound.cpp |
96 |
@@ -18,7 +18,8 @@ |
97 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
98 |
*/ |
99 |
|
100 |
-#include <stdio.h> |
101 |
+#include <cstdio> |
102 |
+#include <cstring> |
103 |
|
104 |
#include <mcheck.h> |
105 |
#include <linux/soundcard.h> |
106 |
--- skelton/svgalib/video_x11.cpp |
107 |
+++ skelton/svgalib/video_x11.cpp |
108 |
@@ -20,7 +20,8 @@ |
109 |
|
110 |
#ifdef UGS_LINUX_X11 |
111 |
|
112 |
-#include <signal.h> |
113 |
+#include <csignal> |
114 |
+#include <cstring> |
115 |
#include <unistd.h> |
116 |
#include <sys/shm.h> |
117 |
#define Font XFont |
118 |
--- skelton/tools/wadder/wadder.cpp |
119 |
+++ skelton/tools/wadder/wadder.cpp |
120 |
@@ -100,7 +100,8 @@ |
121 |
|
122 |
*/ |
123 |
|
124 |
-#include <stdio.h> |
125 |
+#include <cstdio> |
126 |
+#include <cstring> |
127 |
#include "stringtable.h" |
128 |
#include "res.h" |
129 |
|
130 |
|
131 |
|
132 |
|
133 |
-- |
134 |
gentoo-commits@l.g.o mailing list |