summaryrefslogtreecommitdiffstats
path: root/recipes/povray/povray-3.6.1+3.7.0-beta25b/gcc43.diff
blob: 696dfb471f3c3d3efcebc3de14b8809ca09f4eb7 (plain)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
--- /tmp/processoptions.cpp	2008-08-14 01:47:37.000000000 +0200
+++ povray-3.7.0.beta.25b/source/base/processoptions.cpp	2008-08-14 01:48:23.853198000 +0200
@@ -90,6 +90,7 @@
  *
  *********************************************************************************/
 
+#include <cstring>
 #include <cstdarg>
 #include <cctype>
 
--- /tmp/fileinputoutput.cpp	2008-08-14 01:49:16.000000000 +0200
+++ povray-3.7.0.beta.25b/source/base/fileinputoutput.cpp	2008-08-14 01:49:33.043198000 +0200
@@ -90,6 +90,7 @@
  *
  *********************************************************************************/
 
+#include <cstring>
 #include <cstdlib>
 #include <cstdarg>
 
--- /tmp/textstreambuffer.cpp	2008-08-14 01:52:07.000000000 +0200
+++ povray-3.7.0.beta.25b/source/base/textstreambuffer.cpp	2008-08-14 01:52:21.693198000 +0200
@@ -90,6 +90,7 @@
  *
  *********************************************************************************/
 
+#include <cstring>
 #include <algorithm>
 
 #include "configbase.h"
--- /tmp/fileinputoutput.h	2008-08-14 01:53:49.000000000 +0200
+++ povray-3.7.0.beta.25b/source/base/fileinputoutput.h	2008-08-14 01:54:07.213198000 +0200
@@ -96,6 +96,7 @@
 #include "base/types.h"
 #include "base/path.h"
 
+#include <cstring>
 #include <string>
 
 namespace pov_base
--- /tmp/configbase.h	2008-08-14 01:57:58.000000000 +0200
+++ povray-3.7.0.beta.25b/source/base/configbase.h	2008-08-14 01:58:12.373198000 +0200
@@ -95,6 +95,7 @@
 #ifndef CONFIGBASE_H
 #define CONFIGBASE_H
 
+#include <climits>
 #include "syspovconfigbase.h"
 
 #ifndef DBL
--- /tmp/unixoptions.cpp	2008-08-14 02:02:52.000000000 +0200
+++ povray-3.7.0.beta.25b/vfe/unix/unixoptions.cpp	2008-08-14 10:22:09.073198000 +0200
@@ -454,13 +454,16 @@
 				char *errormsg =
 					"Cannot determine the current working directory.\n"
 					"Check that the PWD environment variable does exist and is valid.\n";
+				int no_error_call = 1;
 				if(no_error_call)
 				{
 					fprintf(stderr, "%s: %s\n", PACKAGE, errormsg);
 					exit(EXIT_FAILURE);
 				}
+#ifdef USE_ERROR				
 				else
-					Error("%s", errormsg);
+					std::Error("%s", errormsg);
+#endif
 			}
 #endif