forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kiki-1.0.2-gcc43.patch
56 lines (47 loc) · 1.98 KB
/
kiki-1.0.2-gcc43.patch
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
56
--- kiki/kodilib/src/handler/KPickable.h.orig 2003-04-09 05:56:01.000000000 +0300
+++ kiki/kodilib/src/handler/KPickable.h 2008-10-18 17:23:42.000000000 +0300
@@ -9,6 +9,8 @@
#include "KIntrospection.h"
#include <vector>
+#include <limits.h>
+
#define DEBUG_PICKING false
class KPickable;
--- kiki/kodilib/src/tools/KIntrospection.h.orig 2003-04-09 05:56:03.000000000 +0300
+++ kiki/kodilib/src/tools/KIntrospection.h 2008-10-18 17:22:03.000000000 +0300
@@ -11,6 +11,7 @@
#endif
#include <string>
+#include <cstring>
// --------------------------------------------------------------------------------------------------------
class KClassInfo
--- kiki/kodilib/src/tools/KStringTools.cpp.orig 2003-04-14 00:42:13.000000000 +0300
+++ kiki/kodilib/src/tools/KStringTools.cpp 2008-10-18 17:25:48.000000000 +0300
@@ -6,9 +6,10 @@
#include "KStringTools.h"
#include "KVector.h"
-#include <sys/types.h> // INT_MAX
#include <stdio.h>
+#include <limits.h> // INT_MAX
+
// --------------------------------------------------------------------------------------------------------
void kStringInsertStringBehindTags ( std::string & str, const std::string & insertString,
const std::string & tag )
--- kiki/kodilib/src/tools/KStringTools.h.orig 2003-04-09 05:56:04.000000000 +0300
+++ kiki/kodilib/src/tools/KStringTools.h 2008-10-18 17:22:49.000000000 +0300
@@ -7,6 +7,7 @@
#define __KStringTools
#include <string>
+#include <cstring>
#include <vector>
#include <stdarg.h>
--- kiki/kodilib/src/tools/KXMLTools.cpp.orig 2003-04-14 00:42:13.000000000 +0300
+++ kiki/kodilib/src/tools/KXMLTools.cpp 2008-10-18 17:26:42.000000000 +0300
@@ -8,6 +8,8 @@
#include "KSeparatedMatrix.h"
#include <stdio.h>
+#include <cstdlib>
+
// --------------------------------------------------------------------------------------------------------
std::string kXMLTag ( const std::string & name, const std::string & attributes, int depth )
{