forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ctl-1.4.1-gcc43.patch
106 lines (94 loc) · 2.63 KB
/
ctl-1.4.1-gcc43.patch
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
--- IlmCtl/CtlLex.h
+++ IlmCtl/CtlLex.h
@@ -58,10 +58,11 @@
//-----------------------------------------------------------------------------
#include <CtlLContext.h>
#include <CtlTokens.h>
#include <string>
+#include <cstdlib>
namespace Ctl {
class Lex
--- IlmCtlMathTest/testAffineRec.cpp
+++ IlmCtlMathTest/testAffineRec.cpp
@@ -43,13 +43,14 @@
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
// IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
///////////////////////////////////////////////////////////////////////////
-#include <string>
+#include <cstring>
#include <fstream>
#include <iostream>
+#include <cstdlib>
#include <assert.h>
#include <CtlRbfInterpolator.h>
#include <ImathVec.h>
using namespace std;
--- IlmCtlMathTest/testGaussRec.cpp
+++ IlmCtlMathTest/testGaussRec.cpp
@@ -43,13 +43,14 @@
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
// IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
///////////////////////////////////////////////////////////////////////////
-#include <string>
+#include <cstring>
#include <fstream>
#include <iostream>
+#include <cstdlib>
#include <assert.h>
#include <CtlRbfInterpolator.h>
#include <ImathVec.h>
using namespace std;
--- IlmCtlSimd/CtlSimdReg.h
+++ IlmCtlSimd/CtlSimdReg.h
@@ -50,10 +50,11 @@
#define INCLUDED_CTL_SIMD_REG_H
#include <typeinfo>
#include <CtlExc.h>
#include <Iex.h>
+#include <cstring>
//-----------------------------------------------------------------------------
//
// Registers for the SIMD color transformation engine
//
--- IlmCtlTest/testExamples.cpp
+++ IlmCtlTest/testExamples.cpp
@@ -43,10 +43,11 @@
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
// IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
///////////////////////////////////////////////////////////////////////////
+#include <cstring>
#include <CtlSimdInterpreter.h>
#include <CtlFunctionCall.h>
#include <CtlType.h>
#include <assert.h>
--- IlmCtlTest/testVarying.cpp
+++ IlmCtlTest/testVarying.cpp
@@ -49,10 +49,11 @@
#include <CtlSimdInterpreter.h>
#include <CtlFunctionCall.h>
#include <CtlType.h>
#include <ImathMath.h>
#include <iostream>
+#include <cstring>
#include <exception>
#include <assert.h>
#include <sstream>
#include <limits>
#include <half.h>
--- IlmCtlTest/testVaryingReturn.cpp
+++ IlmCtlTest/testVaryingReturn.cpp
@@ -49,10 +49,11 @@
#include <CtlSimdInterpreter.h>
#include <CtlFunctionCall.h>
#include <CtlType.h>
#include <ImathMath.h>
#include <iostream>
+#include <cstring>
#include <exception>
#include <assert.h>
#include <sstream>
#include <limits>
#include <half.h>