1 |
lavajoe 08/09/12 05:17:51 |
2 |
|
3 |
Added: povray-3.7.0_beta25-gcc43.patch |
4 |
Log: |
5 |
Fix 3.7.0 beta 25 to work with gcc-4.3 (bug #216684) |
6 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-gfx/povray/files/povray-3.7.0_beta25-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/povray/files/povray-3.7.0_beta25-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/povray/files/povray-3.7.0_beta25-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: povray-3.7.0_beta25-gcc43.patch |
15 |
=================================================================== |
16 |
Povray-3.7.0-beta25b: Fix a few GCC-4.3 related compilation problems: |
17 |
add a few missing includes |
18 |
|
19 |
--- povray-3.7.0.beta.25b/source/base/fileinputoutput.h~ 2008-04-07 11:35:15.305580552 +0200 |
20 |
+++ povray-3.7.0.beta.25b/source/base/fileinputoutput.h 2008-04-07 11:35:15.305580552 +0200 |
21 |
@@ -97,6 +97,7 @@ |
22 |
#include "base/path.h" |
23 |
|
24 |
#include <string> |
25 |
+#include <cstring> |
26 |
|
27 |
namespace pov_base |
28 |
{ |
29 |
--- povray-3.7.0.beta.25b/source/base/fileinputoutput.cpp~ 2008-04-07 11:34:54.618082366 +0200 |
30 |
+++ povray-3.7.0.beta.25b/source/base/fileinputoutput.cpp 2008-04-07 11:34:54.618082366 +0200 |
31 |
@@ -92,6 +92,7 @@ |
32 |
|
33 |
#include <cstdlib> |
34 |
#include <cstdarg> |
35 |
+#include <cstring> |
36 |
|
37 |
#include "base/configbase.h" |
38 |
|
39 |
--- povray-3.7.0.beta.25b/source/base/textstreambuffer.cpp~ 2008-04-07 11:35:37.272306361 +0200 |
40 |
+++ povray-3.7.0.beta.25b/source/base/textstreambuffer.cpp 2008-04-07 11:35:37.272306361 +0200 |
41 |
@@ -91,6 +91,7 @@ |
42 |
*********************************************************************************/ |
43 |
|
44 |
#include <algorithm> |
45 |
+#include <cstring> |
46 |
|
47 |
#include "configbase.h" |
48 |
|
49 |
--- povray-3.7.0.beta.25b/source/base/animation/moov.cpp~ 2008-04-07 13:56:09.833886560 +0200 |
50 |
+++ povray-3.7.0.beta.25b/source/base/animation/moov.cpp 2008-04-07 13:56:09.833886560 +0200 |
51 |
@@ -90,6 +90,8 @@ |
52 |
* |
53 |
*********************************************************************************/ |
54 |
|
55 |
+#include <limits.h> |
56 |
+ |
57 |
#include "base/configbase.h" |
58 |
#include "base/pov_err.h" |
59 |
#include "base/types.h" |