Package: adanaxisgpl / 1.2.5.dfsg.1-6

20_fix_FTBFS_with_gcc-4.3.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 2008 Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
# Licensed under the GPL, see /usr/share/common-licenses/GPL
--- a/src/MushFile/MushFileAccessor.cpp
+++ b/src/MushFile/MushFileAccessor.cpp
@@ -43,6 +43,8 @@
 #include "MushFileDirEntry.h"
 #include "MushFileKeys.h"
 
+#include <cstring>
+
 using namespace Mushware;
 using namespace std;
 
--- a/src/MushFile/MushFileFile.cpp
+++ b/src/MushFile/MushFileFile.cpp
@@ -39,6 +39,8 @@
 
 #include "MushFileLibrary.h"
 
+#include <cstring>
+
 using namespace Mushware;
 using namespace std;
 
--- a/src/MushGL/MushGLTexture.cpp
+++ b/src/MushGL/MushGLTexture.cpp
@@ -105,6 +105,8 @@
 #include "MushGLUtil.h"
 #include "MushGLV.h"
 
+#include <cstring>
+
 using namespace Mushware;
 using namespace std;
 
--- a/src/Mushcore/MushcoreBison.cpp
+++ b/src/Mushcore/MushcoreBison.cpp
@@ -127,6 +127,7 @@
 #endif
 
 #include <stdio.h>
+#include <cstring>
 
 #ifndef __cplusplus
 #ifndef __STDC__
--- a/src/Mushcore/MushcoreFlex.cpp
+++ b/src/Mushcore/MushcoreFlex.cpp
@@ -46,6 +46,7 @@
 #define YY_FLEX_MINOR_VERSION 5
 
 #include <stdio.h>
+#include <cstring>
 
 
 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */