1 |
nyhm 08/05/01 00:06:15 |
2 |
|
3 |
Added: dangerdeep-0.3.0-gcc43.patch |
4 |
Log: |
5 |
Fix building with gcc-4.3 |
6 |
(Portage version: 2.1.5_rc6) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-simulation/dangerdeep/files/dangerdeep-0.3.0-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/dangerdeep/files/dangerdeep-0.3.0-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/dangerdeep/files/dangerdeep-0.3.0-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: dangerdeep-0.3.0-gcc43.patch |
15 |
=================================================================== |
16 |
--- src/bspline_test.cpp |
17 |
+++ src/bspline_test.cpp |
18 |
@@ -1,6 +1,7 @@ |
19 |
// some test code for the 2d bsplines! |
20 |
#include "bspline.h" |
21 |
#include <fstream> |
22 |
+#include <cstdlib> |
23 |
using namespace std; |
24 |
|
25 |
double rnd() { return double(rand())/RAND_MAX; } |
26 |
--- src/convoy.h |
27 |
+++ src/convoy.h |
28 |
@@ -27,6 +27,7 @@ |
29 |
#include "vector2.h" |
30 |
#include <new> |
31 |
#include <list> |
32 |
+#include <memory> |
33 |
class ship; |
34 |
|
35 |
///\brief Grouping of ships and other objects with central control. |
36 |
--- src/date.cpp |
37 |
+++ src/date.cpp |
38 |
@@ -21,6 +21,7 @@ |
39 |
// subsim (C)+(W) Markus Petermann and Thorsten Jordan. SEE LICENSE |
40 |
|
41 |
#include <iomanip> |
42 |
+#include <cstdlib> |
43 |
#include "date.h" |
44 |
#include "texts.h" |
45 |
|
46 |
--- src/ocean_wave_generator.h |
47 |
+++ src/ocean_wave_generator.h |
48 |
@@ -29,6 +29,7 @@ |
49 |
#include "environment.h" |
50 |
#include <complex> |
51 |
#include <vector> |
52 |
+#include <cstdlib> |
53 |
|
54 |
// use float fftw (faster) or double (default) ? |
55 |
#ifdef WITH_FLOAT_FFTW |
56 |
--- src/ptrlist.h |
57 |
+++ src/ptrlist.h |
58 |
@@ -25,6 +25,7 @@ |
59 |
|
60 |
#include <list> |
61 |
#include <stdexcept> |
62 |
+#include <memory> |
63 |
|
64 |
// same as std::list regarding the interface (partly), but handles pointers. |
65 |
template <class T> |
66 |
--- src/ptrvector.h |
67 |
+++ src/ptrvector.h |
68 |
@@ -25,6 +25,7 @@ |
69 |
|
70 |
#include <vector> |
71 |
#include <stdexcept> |
72 |
+#include <memory> |
73 |
|
74 |
// same as std::vector regarding the interface, but handles pointers. |
75 |
template <class T> |
76 |
--- src/sea_object.h |
77 |
+++ src/sea_object.h |
78 |
@@ -27,6 +27,7 @@ |
79 |
#include "ptrvector.h" |
80 |
#include <new> |
81 |
#include <stdexcept> |
82 |
+#include <memory> |
83 |
|
84 |
#include "vector3.h" |
85 |
#include "angle.h" |
86 |
--- src/widget.cpp |
87 |
+++ src/widget.cpp |
88 |
@@ -32,6 +32,7 @@ |
89 |
#include "datadirs.h" |
90 |
#include <set> |
91 |
#include <sstream> |
92 |
+#include <algorithm> |
93 |
using std::vector; |
94 |
using std::list; |
95 |
using std::string; |
96 |
|
97 |
|
98 |
|
99 |
-- |
100 |
gentoo-commits@l.g.o mailing list |