Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-puzzle/kiki/files: kiki-1.0.2-gcc43.patch
Date: Tue, 18 Nov 2008 22:38:43
Message-Id: E1L2ZDU-0002L8-EU@stork.gentoo.org
1 mr_bones_ 08/11/18 22:38:40
2
3 Added: kiki-1.0.2-gcc43.patch
4 Log:
5 add gcc43 patch from Nikolay Orlyuk via bug #242576
6 (Portage version: 2.1.4.5)
7
8 Revision Changes Path
9 1.1 games-puzzle/kiki/files/kiki-1.0.2-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/kiki/files/kiki-1.0.2-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/kiki/files/kiki-1.0.2-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: kiki-1.0.2-gcc43.patch
15 ===================================================================
16 --- kiki/kodilib/src/handler/KPickable.h.orig 2003-04-09 05:56:01.000000000 +0300
17 +++ kiki/kodilib/src/handler/KPickable.h 2008-10-18 17:23:42.000000000 +0300
18 @@ -9,6 +9,8 @@
19 #include "KIntrospection.h"
20 #include <vector>
21
22 +#include <limits.h>
23 +
24 #define DEBUG_PICKING false
25
26 class KPickable;
27 --- kiki/kodilib/src/tools/KIntrospection.h.orig 2003-04-09 05:56:03.000000000 +0300
28 +++ kiki/kodilib/src/tools/KIntrospection.h 2008-10-18 17:22:03.000000000 +0300
29 @@ -11,6 +11,7 @@
30 #endif
31
32 #include <string>
33 +#include <cstring>
34
35 // --------------------------------------------------------------------------------------------------------
36 class KClassInfo
37 --- kiki/kodilib/src/tools/KStringTools.cpp.orig 2003-04-14 00:42:13.000000000 +0300
38 +++ kiki/kodilib/src/tools/KStringTools.cpp 2008-10-18 17:25:48.000000000 +0300
39 @@ -6,9 +6,10 @@
40 #include "KStringTools.h"
41 #include "KVector.h"
42
43 -#include <sys/types.h> // INT_MAX
44 #include <stdio.h>
45
46 +#include <limits.h> // INT_MAX
47 +
48 // --------------------------------------------------------------------------------------------------------
49 void kStringInsertStringBehindTags ( std::string & str, const std::string & insertString,
50 const std::string & tag )
51 --- kiki/kodilib/src/tools/KStringTools.h.orig 2003-04-09 05:56:04.000000000 +0300
52 +++ kiki/kodilib/src/tools/KStringTools.h 2008-10-18 17:22:49.000000000 +0300
53 @@ -7,6 +7,7 @@
54 #define __KStringTools
55
56 #include <string>
57 +#include <cstring>
58 #include <vector>
59 #include <stdarg.h>
60
61 --- kiki/kodilib/src/tools/KXMLTools.cpp.orig 2003-04-14 00:42:13.000000000 +0300
62 +++ kiki/kodilib/src/tools/KXMLTools.cpp 2008-10-18 17:26:42.000000000 +0300
63 @@ -8,6 +8,8 @@
64 #include "KSeparatedMatrix.h"
65 #include <stdio.h>
66
67 +#include <cstdlib>
68 +
69 // --------------------------------------------------------------------------------------------------------
70 std::string kXMLTag ( const std::string & name, const std::string & attributes, int depth )
71 {