summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Peterson <lavajoe@gentoo.org>2008-09-12 05:17:50 +0000
committerJoe Peterson <lavajoe@gentoo.org>2008-09-12 05:17:50 +0000
commitc72aa47a7ca365dde52954cdd88f2232680a9bc3 (patch)
treeada5e38630775447373a38a3cc323636d3e143f8 /media-gfx/povray/files
parent20070314 patchball 0.4, 20080710 ebuild reworked a bit, patchball 0.2 (diff)
downloadhistorical-c72aa47a7ca365dde52954cdd88f2232680a9bc3.tar.gz
historical-c72aa47a7ca365dde52954cdd88f2232680a9bc3.tar.bz2
historical-c72aa47a7ca365dde52954cdd88f2232680a9bc3.zip
Fix 3.7.0 beta 25 to work with gcc-4.3 (bug #216684)
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686
Diffstat (limited to 'media-gfx/povray/files')
-rw-r--r--media-gfx/povray/files/povray-3.7.0_beta25-gcc43.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/media-gfx/povray/files/povray-3.7.0_beta25-gcc43.patch b/media-gfx/povray/files/povray-3.7.0_beta25-gcc43.patch
new file mode 100644
index 000000000000..59e69cb6f42d
--- /dev/null
+++ b/media-gfx/povray/files/povray-3.7.0_beta25-gcc43.patch
@@ -0,0 +1,44 @@
+Povray-3.7.0-beta25b: Fix a few GCC-4.3 related compilation problems:
+add a few missing includes
+
+--- povray-3.7.0.beta.25b/source/base/fileinputoutput.h~ 2008-04-07 11:35:15.305580552 +0200
++++ povray-3.7.0.beta.25b/source/base/fileinputoutput.h 2008-04-07 11:35:15.305580552 +0200
+@@ -97,6 +97,7 @@
+ #include "base/path.h"
+
+ #include <string>
++#include <cstring>
+
+ namespace pov_base
+ {
+--- povray-3.7.0.beta.25b/source/base/fileinputoutput.cpp~ 2008-04-07 11:34:54.618082366 +0200
++++ povray-3.7.0.beta.25b/source/base/fileinputoutput.cpp 2008-04-07 11:34:54.618082366 +0200
+@@ -92,6 +92,7 @@
+
+ #include <cstdlib>
+ #include <cstdarg>
++#include <cstring>
+
+ #include "base/configbase.h"
+
+--- povray-3.7.0.beta.25b/source/base/textstreambuffer.cpp~ 2008-04-07 11:35:37.272306361 +0200
++++ povray-3.7.0.beta.25b/source/base/textstreambuffer.cpp 2008-04-07 11:35:37.272306361 +0200
+@@ -91,6 +91,7 @@
+ *********************************************************************************/
+
+ #include <algorithm>
++#include <cstring>
+
+ #include "configbase.h"
+
+--- povray-3.7.0.beta.25b/source/base/animation/moov.cpp~ 2008-04-07 13:56:09.833886560 +0200
++++ povray-3.7.0.beta.25b/source/base/animation/moov.cpp 2008-04-07 13:56:09.833886560 +0200
+@@ -90,6 +90,8 @@
+ *
+ *********************************************************************************/
+
++#include <limits.h>
++
+ #include "base/configbase.h"
+ #include "base/pov_err.h"
+ #include "base/types.h"