1 |
nyhm 08/04/30 15:13:34 |
2 |
|
3 |
Added: scorched3d-41.3-gcc43.patch |
4 |
Log: |
5 |
Patch to fix building with gcc-4.3 from Peter Alfredsen, bug #219502 |
6 |
(Portage version: 2.1.5_rc6) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-strategy/scorched3d/files/scorched3d-41.3-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/scorched3d/files/scorched3d-41.3-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/scorched3d/files/scorched3d-41.3-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: scorched3d-41.3-gcc43.patch |
15 |
=================================================================== |
16 |
Index: scorched3d-41.3dfsg/src/common/main.h |
17 |
=================================================================== |
18 |
--- scorched3d-41.3dfsg.orig/src/common/main.h 2008-01-26 20:41:37.000000000 +0100 |
19 |
+++ scorched3d-41.3dfsg/src/common/main.h 2008-01-26 20:45:15.000000000 +0100 |
20 |
@@ -21,6 +21,8 @@ |
21 |
#define WIN32_LEAN_AND_MEAN |
22 |
|
23 |
#include <windows.h> |
24 |
+#include <cstdlib> |
25 |
+#include <vector> |
26 |
|
27 |
#ifdef HAVE_UNISTD_H |
28 |
#include <unistd.h> |
29 |
Index: scorched3d-41.3dfsg/src/common/sha2.h |
30 |
=================================================================== |
31 |
--- scorched3d-41.3dfsg.orig/src/common/sha2.h 2008-01-26 20:41:37.000000000 +0100 |
32 |
+++ scorched3d-41.3dfsg/src/common/sha2.h 2008-01-26 20:45:15.000000000 +0100 |
33 |
@@ -46,6 +46,7 @@ |
34 |
|
35 |
#include <string> |
36 |
#include <stdexcept> |
37 |
+#include <cstring> |
38 |
|
39 |
// NOTE: You may need to define things by hand for your system: |
40 |
typedef unsigned char sha_byte; // Exactly 1 byte |
41 |
Index: scorched3d-41.3dfsg/src/common/DefinesFile.cpp |
42 |
=================================================================== |
43 |
--- scorched3d-41.3dfsg.orig/src/common/DefinesFile.cpp 2008-01-26 20:41:37.000000000 +0100 |
44 |
+++ scorched3d-41.3dfsg/src/common/DefinesFile.cpp 2008-01-26 20:45:15.000000000 +0100 |
45 |
@@ -21,6 +21,7 @@ |
46 |
#include <stdio.h> |
47 |
#include <stdlib.h> |
48 |
#include <string> |
49 |
+#include <cstring> |
50 |
#include <common/DefinesFile.h> |
51 |
#include <sys/types.h> |
52 |
#include <sys/stat.h> |
53 |
Index: scorched3d-41.3dfsg/src/common/LoggerI.cpp |
54 |
=================================================================== |
55 |
--- scorched3d-41.3dfsg.orig/src/common/LoggerI.cpp 2008-01-26 20:45:33.000000000 +0100 |
56 |
+++ scorched3d-41.3dfsg/src/common/LoggerI.cpp 2008-01-26 20:46:03.000000000 +0100 |
57 |
@@ -20,6 +20,7 @@ |
58 |
|
59 |
#include <common/LoggerI.h> |
60 |
#include <time.h> |
61 |
+#include <cstring> |
62 |
|
63 |
LoggerInfo::LoggerInfo( |
64 |
const char *message, |
65 |
|
66 |
|
67 |
|
68 |
-- |
69 |
gentoo-commits@l.g.o mailing list |