1 |
maekke 08/08/30 15:52:30 |
2 |
|
3 |
Added: panda3d-1.5.2-gcc43.patch |
4 |
Log: |
5 |
version bump, bug #144259; old |
6 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc5 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-libs/panda3d/files/panda3d-1.5.2-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/panda3d/files/panda3d-1.5.2-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/panda3d/files/panda3d-1.5.2-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: panda3d-1.5.2-gcc43.patch |
15 |
=================================================================== |
16 |
diff -ur panda3d-1.5.2.orig/dtool/src/dtoolbase/typeRegistryNode.cxx panda3d-1.5.2/dtool/src/dtoolbase/typeRegistryNode.cxx |
17 |
--- panda3d-1.5.2.orig/dtool/src/dtoolbase/typeRegistryNode.cxx 2008-08-30 15:53:58.000000000 +0200 |
18 |
+++ panda3d-1.5.2/dtool/src/dtoolbase/typeRegistryNode.cxx 2008-08-30 15:56:36.000000000 +0200 |
19 |
@@ -19,6 +19,7 @@ |
20 |
#include "typeRegistryNode.h" |
21 |
|
22 |
#include <algorithm> |
23 |
+#include <string.h> |
24 |
|
25 |
bool TypeRegistryNode::_paranoid_inheritance = false; |
26 |
|
27 |
diff -ur panda3d-1.5.2.orig/dtool/src/dtoolutil/filename.I panda3d-1.5.2/dtool/src/dtoolutil/filename.I |
28 |
--- panda3d-1.5.2.orig/dtool/src/dtoolutil/filename.I 2008-08-30 16:01:48.000000000 +0200 |
29 |
+++ panda3d-1.5.2/dtool/src/dtoolutil/filename.I 2008-08-30 16:03:50.000000000 +0200 |
30 |
@@ -16,6 +16,8 @@ |
31 |
// |
32 |
//////////////////////////////////////////////////////////////////// |
33 |
|
34 |
+#include <string.h> |
35 |
+ |
36 |
//////////////////////////////////////////////////////////////////// |
37 |
// Function: Filename::Constructor |
38 |
// Access: Published |
39 |
diff -ur panda3d-1.5.2.orig/dtool/src/cppparser/cppExpression.cxx panda3d-1.5.2/dtool/src/cppparser/cppExpression.cxx |
40 |
--- panda3d-1.5.2.orig/dtool/src/cppparser/cppExpression.cxx 2008-08-30 16:06:51.000000000 +0200 |
41 |
+++ panda3d-1.5.2/dtool/src/cppparser/cppExpression.cxx 2008-08-30 16:08:14.000000000 +0200 |
42 |
@@ -32,6 +32,7 @@ |
43 |
#include "cppBison.h" |
44 |
|
45 |
#include <assert.h> |
46 |
+#include <stdlib.h> |
47 |
|
48 |
//////////////////////////////////////////////////////////////////// |
49 |
// Function: CPPExpresion::Result::Constructor |
50 |
diff -ur panda3d-1.5.2.orig/dtool/src/cppparser/cppPreprocessor.cxx panda3d-1.5.2/dtool/src/cppparser/cppPreprocessor.cxx |
51 |
--- panda3d-1.5.2.orig/dtool/src/cppparser/cppPreprocessor.cxx 2008-08-30 16:06:51.000000000 +0200 |
52 |
+++ panda3d-1.5.2/dtool/src/cppparser/cppPreprocessor.cxx 2008-08-30 16:07:36.000000000 +0200 |
53 |
@@ -32,6 +32,7 @@ |
54 |
|
55 |
#include <assert.h> |
56 |
#include <ctype.h> |
57 |
+#include <stdlib.h> |
58 |
|
59 |
// We manage our own visibility counter, in addition to that managed |
60 |
// by cppBison.y. We do this just so we can define manifests with the |
61 |
diff -ur panda3d-1.5.2.orig/dtool/src/prc/configDeclaration.cxx panda3d-1.5.2/dtool/src/prc/configDeclaration.cxx |
62 |
--- panda3d-1.5.2.orig/dtool/src/prc/configDeclaration.cxx 2008-08-30 16:12:41.000000000 +0200 |
63 |
+++ panda3d-1.5.2/dtool/src/prc/configDeclaration.cxx 2008-08-30 16:13:07.000000000 +0200 |
64 |
@@ -19,6 +19,7 @@ |
65 |
#include "configDeclaration.h" |
66 |
#include "configVariableCore.h" |
67 |
|
68 |
+#include <stdlib.h> |
69 |
|
70 |
//////////////////////////////////////////////////////////////////// |
71 |
// Function: ConfigDeclaration::Constructor |
72 |
diff -ur panda3d-1.5.2.orig/dtool/src/interrogate/interrogate_module.cxx panda3d-1.5.2/dtool/src/interrogate/interrogate_module.cxx |
73 |
--- panda3d-1.5.2.orig/dtool/src/interrogate/interrogate_module.cxx 2008-08-30 16:15:50.000000000 +0200 |
74 |
+++ panda3d-1.5.2/dtool/src/interrogate/interrogate_module.cxx 2008-08-30 16:16:20.000000000 +0200 |
75 |
@@ -29,6 +29,8 @@ |
76 |
|
77 |
#include "set" |
78 |
|
79 |
+#include <stdlib.h> |
80 |
+ |
81 |
// If our system getopt() doesn't come with getopt_long_only(), then use |
82 |
// the GNU flavor that we've got in tool for this purpose. |
83 |
#ifndef HAVE_GETOPT_LONG_ONLY |
84 |
diff -ur panda3d-1.5.2.orig/panda/src/nativenet/socket_address.h panda3d-1.5.2/panda/src/nativenet/socket_address.h |
85 |
--- panda3d-1.5.2.orig/panda/src/nativenet/socket_address.h 2008-08-30 16:27:03.000000000 +0200 |
86 |
+++ panda3d-1.5.2/panda/src/nativenet/socket_address.h 2008-08-30 16:28:49.000000000 +0200 |
87 |
@@ -5,6 +5,8 @@ |
88 |
#include "numeric_types.h" |
89 |
#include "socket_portable.h" |
90 |
|
91 |
+#include <stdlib.h> |
92 |
+ |
93 |
/////////////////////////////////// |
94 |
// Class : Socket_Address |
95 |
// |
96 |
diff -ur panda3d-1.5.2.orig/panda/src/pnmimagetypes/pnmFileTypePNM.cxx panda3d-1.5.2/panda/src/pnmimagetypes/pnmFileTypePNM.cxx |
97 |
--- panda3d-1.5.2.orig/panda/src/pnmimagetypes/pnmFileTypePNM.cxx 2008-08-30 16:56:33.000000000 +0200 |
98 |
+++ panda3d-1.5.2/panda/src/pnmimagetypes/pnmFileTypePNM.cxx 2008-08-30 16:57:53.000000000 +0200 |
99 |
@@ -22,6 +22,8 @@ |
100 |
#include "pnmFileTypeRegistry.h" |
101 |
#include "bamReader.h" |
102 |
|
103 |
+#include <limits.h> |
104 |
+ |
105 |
static const char * const extensions_PNM[] = { |
106 |
"pbm", "pgm", "ppm", "pnm" |
107 |
}; |