1 |
drac 08/04/29 15:00:20 |
2 |
|
3 |
Added: yafray-0.0.9-gcc43.patch |
4 |
Log: |
5 |
Fix building with GCC 4.3 wrt #219648, thanks to Peter Alfredsen. |
6 |
(Portage version: 2.1.5_rc6) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-gfx/yafray/files/yafray-0.0.9-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/yafray/files/yafray-0.0.9-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/yafray/files/yafray-0.0.9-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: yafray-0.0.9-gcc43.patch |
15 |
=================================================================== |
16 |
#! /bin/sh /usr/share/dpatch/dpatch-run |
17 |
## 30_gcc4.3_missing_includes.dpatch by Cyril Brulebois <cyril.brulebois@×××××××××××××.fr> |
18 |
## |
19 |
## All lines beginning with `## DP:' are a description of the patch. |
20 |
## DP: Add missing includes to fix FTBFS with gcc 4.3 |
21 |
|
22 |
@DPATCH@ |
23 |
|
24 |
--- a/src/yafraycore/HDR_io.cc 2007-12-21 02:04:16.000000000 +0100 |
25 |
+++ b/src/yafraycore/HDR_io.cc 2007-12-21 02:04:23.000000000 +0100 |
26 |
@@ -9,6 +9,8 @@ |
27 |
#include<config.h> |
28 |
#endif |
29 |
|
30 |
+#include <cstring> |
31 |
+ |
32 |
__BEGIN_YAFRAY |
33 |
|
34 |
//--------------------------------------------------------------------------- |
35 |
--- a/src/yafraycore/buffer.h 2007-12-21 02:03:39.000000000 +0100 |
36 |
+++ b/src/yafraycore/buffer.h 2007-12-21 02:03:48.000000000 +0100 |
37 |
@@ -29,6 +29,7 @@ |
38 |
|
39 |
#include <cstdio> |
40 |
#include <iostream> |
41 |
+#include <cstdlib> |
42 |
#include "color.h" |
43 |
|
44 |
__BEGIN_YAFRAY |
45 |
--- a/src/yafraycore/ccthreads.cc 2007-12-21 02:05:02.000000000 +0100 |
46 |
+++ b/src/yafraycore/ccthreads.cc 2007-12-21 02:05:12.000000000 +0100 |
47 |
@@ -1,5 +1,6 @@ |
48 |
#include"ccthreads.h" |
49 |
#include<iostream> |
50 |
+#include<cstdlib> |
51 |
|
52 |
using namespace std; |
53 |
|
54 |
--- a/src/yafraycore/geometree.h 2007-12-21 02:09:40.000000000 +0100 |
55 |
+++ b/src/yafraycore/geometree.h 2007-12-21 02:09:46.000000000 +0100 |
56 |
@@ -2,6 +2,7 @@ |
57 |
#define __GEOMETREE_H |
58 |
|
59 |
#include"bound.h" |
60 |
+#include <limits> |
61 |
|
62 |
__BEGIN_YAFRAY |
63 |
|
64 |
--- a/src/yafraycore/kdtree.cc 2007-12-21 02:05:55.000000000 +0100 |
65 |
+++ b/src/yafraycore/kdtree.cc 2007-12-21 02:06:03.000000000 +0100 |
66 |
@@ -4,6 +4,7 @@ |
67 |
#include <math.h> |
68 |
#include <limits> |
69 |
#include <time.h> |
70 |
+#include <cstring> |
71 |
|
72 |
__BEGIN_YAFRAY |
73 |
|
74 |
--- a/src/yafraycore/renderblock.cc 2007-12-21 02:07:41.000000000 +0100 |
75 |
+++ b/src/yafraycore/renderblock.cc 2007-12-21 02:07:49.000000000 +0100 |
76 |
@@ -1,5 +1,6 @@ |
77 |
|
78 |
#include "renderblock.h" |
79 |
+#include <cstdlib> |
80 |
|
81 |
using namespace std; |
82 |
|
83 |
--- a/src/loader/mlex.cc 2007-12-21 02:13:25.000000000 +0100 |
84 |
+++ b/src/loader/mlex.cc 2007-12-21 02:13:35.000000000 +0100 |
85 |
@@ -22,6 +22,7 @@ |
86 |
|
87 |
#include<stdio.h> |
88 |
#include<iostream> |
89 |
+#include<cstring> |
90 |
#include "mlex.h" |
91 |
using namespace std; |
92 |
#include<string> |
93 |
--- a/src/shaders/basictex.cc 2007-12-21 02:14:43.000000000 +0100 |
94 |
+++ b/src/shaders/basictex.cc 2007-12-21 02:14:52.000000000 +0100 |
95 |
@@ -23,6 +23,7 @@ |
96 |
#include "basictex.h" |
97 |
#include "object3d.h" |
98 |
#include <iostream> |
99 |
+#include <cstring> |
100 |
|
101 |
#include "targaIO.h" |
102 |
#include "HDR_io.h" |
103 |
--- a/src/yafraycore/targaIO.cc 2007-12-21 02:10:53.000000000 +0100 |
104 |
+++ b/src/yafraycore/targaIO.cc 2007-12-21 02:11:00.000000000 +0100 |
105 |
@@ -3,6 +3,7 @@ |
106 |
//-------------------------------------------------------------------------------- |
107 |
#include "targaIO.h" |
108 |
#include "vector3d.h" |
109 |
+#include <cstring> |
110 |
|
111 |
//-------------------------------------------------------------------------------- |
112 |
// Save uncompressed 24 bit targa |
113 |
|
114 |
|
115 |
|
116 |
-- |
117 |
gentoo-commits@l.g.o mailing list |