1 |
loki_val 08/06/20 19:46:07 |
2 |
|
3 |
Added: ctl-1.4.1-gcc43.patch |
4 |
Log: |
5 |
Fix gcc-4.3 compilation. Thanks to Robert Piasek <robert.piasek@××××××××××.org> in bug 227395 for the first part of the patch. |
6 |
(Portage version: 2.1.5.5) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-libs/ctl/files/ctl-1.4.1-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ctl/files/ctl-1.4.1-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ctl/files/ctl-1.4.1-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: ctl-1.4.1-gcc43.patch |
15 |
=================================================================== |
16 |
diff -NrU5 ctl-1.4.1.orig/IlmCtl/CtlLex.h ctl-1.4.1/IlmCtl/CtlLex.h |
17 |
--- ctl-1.4.1.orig/IlmCtl/CtlLex.h 2008-06-20 18:30:55.000000000 +0200 |
18 |
+++ ctl-1.4.1/IlmCtl/CtlLex.h 2008-06-20 18:31:24.000000000 +0200 |
19 |
@@ -58,10 +58,11 @@ |
20 |
//----------------------------------------------------------------------------- |
21 |
|
22 |
#include <CtlLContext.h> |
23 |
#include <CtlTokens.h> |
24 |
#include <string> |
25 |
+#include <cstdlib> |
26 |
|
27 |
namespace Ctl { |
28 |
|
29 |
|
30 |
class Lex |
31 |
diff -NrU5 ctl-1.4.1.orig/IlmCtlMathTest/testAffineRec.cpp ctl-1.4.1/IlmCtlMathTest/testAffineRec.cpp |
32 |
--- ctl-1.4.1.orig/IlmCtlMathTest/testAffineRec.cpp 2008-06-20 18:30:55.000000000 +0200 |
33 |
+++ ctl-1.4.1/IlmCtlMathTest/testAffineRec.cpp 2008-06-20 18:37:21.000000000 +0200 |
34 |
@@ -43,13 +43,14 @@ |
35 |
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
36 |
// IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
37 |
// |
38 |
/////////////////////////////////////////////////////////////////////////// |
39 |
|
40 |
-#include <string> |
41 |
+#include <cstring> |
42 |
#include <fstream> |
43 |
#include <iostream> |
44 |
+#include <cstdlib> |
45 |
#include <assert.h> |
46 |
#include <CtlRbfInterpolator.h> |
47 |
#include <ImathVec.h> |
48 |
|
49 |
using namespace std; |
50 |
diff -NrU5 ctl-1.4.1.orig/IlmCtlMathTest/testGaussRec.cpp ctl-1.4.1/IlmCtlMathTest/testGaussRec.cpp |
51 |
--- ctl-1.4.1.orig/IlmCtlMathTest/testGaussRec.cpp 2008-06-20 18:30:55.000000000 +0200 |
52 |
+++ ctl-1.4.1/IlmCtlMathTest/testGaussRec.cpp 2008-06-20 18:37:31.000000000 +0200 |
53 |
@@ -43,13 +43,14 @@ |
54 |
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
55 |
// IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
56 |
// |
57 |
/////////////////////////////////////////////////////////////////////////// |
58 |
|
59 |
-#include <string> |
60 |
+#include <cstring> |
61 |
#include <fstream> |
62 |
#include <iostream> |
63 |
+#include <cstdlib> |
64 |
#include <assert.h> |
65 |
#include <CtlRbfInterpolator.h> |
66 |
#include <ImathVec.h> |
67 |
|
68 |
using namespace std; |
69 |
diff -NrU5 ctl-1.4.1.orig/IlmCtlSimd/CtlSimdReg.h ctl-1.4.1/IlmCtlSimd/CtlSimdReg.h |
70 |
--- ctl-1.4.1.orig/IlmCtlSimd/CtlSimdReg.h 2008-06-20 18:30:55.000000000 +0200 |
71 |
+++ ctl-1.4.1/IlmCtlSimd/CtlSimdReg.h 2008-06-20 18:31:24.000000000 +0200 |
72 |
@@ -50,10 +50,11 @@ |
73 |
#define INCLUDED_CTL_SIMD_REG_H |
74 |
|
75 |
#include <typeinfo> |
76 |
#include <CtlExc.h> |
77 |
#include <Iex.h> |
78 |
+#include <cstring> |
79 |
|
80 |
//----------------------------------------------------------------------------- |
81 |
// |
82 |
// Registers for the SIMD color transformation engine |
83 |
// |
84 |
diff -NrU5 ctl-1.4.1.orig/IlmCtlTest/testExamples.cpp ctl-1.4.1/IlmCtlTest/testExamples.cpp |
85 |
--- ctl-1.4.1.orig/IlmCtlTest/testExamples.cpp 2008-06-20 18:30:55.000000000 +0200 |
86 |
+++ ctl-1.4.1/IlmCtlTest/testExamples.cpp 2008-06-20 18:41:52.000000000 +0200 |
87 |
@@ -43,10 +43,11 @@ |
88 |
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
89 |
// IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
90 |
// |
91 |
/////////////////////////////////////////////////////////////////////////// |
92 |
|
93 |
+#include <cstring> |
94 |
#include <CtlSimdInterpreter.h> |
95 |
#include <CtlFunctionCall.h> |
96 |
#include <CtlType.h> |
97 |
#include <assert.h> |
98 |
|
99 |
diff -NrU5 ctl-1.4.1.orig/IlmCtlTest/testVarying.cpp ctl-1.4.1/IlmCtlTest/testVarying.cpp |
100 |
--- ctl-1.4.1.orig/IlmCtlTest/testVarying.cpp 2008-06-20 18:30:55.000000000 +0200 |
101 |
+++ ctl-1.4.1/IlmCtlTest/testVarying.cpp 2008-06-20 18:43:28.000000000 +0200 |
102 |
@@ -49,10 +49,11 @@ |
103 |
#include <CtlSimdInterpreter.h> |
104 |
#include <CtlFunctionCall.h> |
105 |
#include <CtlType.h> |
106 |
#include <ImathMath.h> |
107 |
#include <iostream> |
108 |
+#include <cstring> |
109 |
#include <exception> |
110 |
#include <assert.h> |
111 |
#include <sstream> |
112 |
#include <limits> |
113 |
#include <half.h> |
114 |
diff -NrU5 ctl-1.4.1.orig/IlmCtlTest/testVaryingReturn.cpp ctl-1.4.1/IlmCtlTest/testVaryingReturn.cpp |
115 |
--- ctl-1.4.1.orig/IlmCtlTest/testVaryingReturn.cpp 2008-06-20 18:30:55.000000000 +0200 |
116 |
+++ ctl-1.4.1/IlmCtlTest/testVaryingReturn.cpp 2008-06-20 18:46:34.000000000 +0200 |
117 |
@@ -49,10 +49,11 @@ |
118 |
#include <CtlSimdInterpreter.h> |
119 |
#include <CtlFunctionCall.h> |
120 |
#include <CtlType.h> |
121 |
#include <ImathMath.h> |
122 |
#include <iostream> |
123 |
+#include <cstring> |
124 |
#include <exception> |
125 |
#include <assert.h> |
126 |
#include <sstream> |
127 |
#include <limits> |
128 |
#include <half.h> |
129 |
|
130 |
|
131 |
|
132 |
-- |
133 |
gentoo-commits@l.g.o mailing list |