diff options
author | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
commit | 5dd7ed82e788ebad2e920e0f2db7468cc6547cfe (patch) | |
tree | f467412e09912ababcd8fe6c05193d829f514dcd /community/dangerdeep/build-fix.patch | |
parent | 3009e8addb4a894329bf8ab3e8fb763361833978 (diff) |
Sat Dec 29 02:10:20 PST 2012
Diffstat (limited to 'community/dangerdeep/build-fix.patch')
-rw-r--r-- | community/dangerdeep/build-fix.patch | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/community/dangerdeep/build-fix.patch b/community/dangerdeep/build-fix.patch new file mode 100644 index 000000000..f77e07c5a --- /dev/null +++ b/community/dangerdeep/build-fix.patch @@ -0,0 +1,102 @@ +diff -wbBur dangerdeep-0.3.0/src/bspline_test.cpp dangerdeep-0.3.0.my/src/bspline_test.cpp +--- dangerdeep-0.3.0/src/bspline_test.cpp 2007-06-11 19:16:23.000000000 +0400 ++++ dangerdeep-0.3.0.my/src/bspline_test.cpp 2012-10-08 17:33:01.034909571 +0400 +@@ -1,6 +1,8 @@ + // some test code for the 2d bsplines! + #include "bspline.h" + #include <fstream> ++#include <cstdlib> ++ + using namespace std; + + double rnd() { return double(rand())/RAND_MAX; } +diff -wbBur dangerdeep-0.3.0/src/convoy.h dangerdeep-0.3.0.my/src/convoy.h +--- dangerdeep-0.3.0/src/convoy.h 2007-06-11 19:16:23.000000000 +0400 ++++ dangerdeep-0.3.0.my/src/convoy.h 2012-10-08 17:33:01.034909571 +0400 +@@ -26,6 +26,7 @@ + #include "ai.h" + #include "vector2.h" + #include <new> ++#include <memory> + #include <list> + class ship; + +diff -wbBur dangerdeep-0.3.0/src/date.cpp dangerdeep-0.3.0.my/src/date.cpp +--- dangerdeep-0.3.0/src/date.cpp 2007-06-11 19:16:23.000000000 +0400 ++++ dangerdeep-0.3.0.my/src/date.cpp 2012-10-08 17:33:01.034909571 +0400 +@@ -20,6 +20,8 @@ + // date + // subsim (C)+(W) Markus Petermann and Thorsten Jordan. SEE LICENSE + ++#include <stdio.h> ++#include <stdlib.h> + #include <iomanip> + #include "date.h" + #include "texts.h" +diff -wbBur dangerdeep-0.3.0/src/faulthandler.h dangerdeep-0.3.0.my/src/faulthandler.h +--- dangerdeep-0.3.0/src/faulthandler.h 2007-06-11 22:29:30.000000000 +0400 ++++ dangerdeep-0.3.0.my/src/faulthandler.h 2012-10-08 17:33:23.264909316 +0400 +@@ -50,6 +50,7 @@ + #include <signal.h> + #include <string> + #include <sstream> ++#include <unistd.h> + + // Note: use --export-dynamic as linker option or you won't get function names here. + +diff -wbBur dangerdeep-0.3.0/src/filehelper.cpp dangerdeep-0.3.0.my/src/filehelper.cpp +--- dangerdeep-0.3.0/src/filehelper.cpp 2007-06-11 19:16:23.000000000 +0400 ++++ dangerdeep-0.3.0.my/src/filehelper.cpp 2012-10-08 17:33:01.034909571 +0400 +@@ -23,6 +23,7 @@ + #include "filehelper.h" + #include "error.h" + #include <vector> ++#include <stdio.h> + using namespace std; + + #ifdef WIN32 +diff -wbBur dangerdeep-0.3.0/src/ocean_wave_generator.h dangerdeep-0.3.0.my/src/ocean_wave_generator.h +--- dangerdeep-0.3.0/src/ocean_wave_generator.h 2007-06-11 19:16:23.000000000 +0400 ++++ dangerdeep-0.3.0.my/src/ocean_wave_generator.h 2012-10-08 17:33:01.034909571 +0400 +@@ -29,6 +29,7 @@ + #include "environment.h" + #include <complex> + #include <vector> ++#include <cstdlib> + + // use float fftw (faster) or double (default) ? + #ifdef WITH_FLOAT_FFTW +diff -wbBur dangerdeep-0.3.0/src/ptrlist.h dangerdeep-0.3.0.my/src/ptrlist.h +--- dangerdeep-0.3.0/src/ptrlist.h 2007-06-11 19:16:23.000000000 +0400 ++++ dangerdeep-0.3.0.my/src/ptrlist.h 2012-10-08 17:33:01.034909571 +0400 +@@ -25,6 +25,7 @@ + + #include <list> + #include <stdexcept> ++#include <memory> + + // same as std::list regarding the interface (partly), but handles pointers. + template <class T> +diff -wbBur dangerdeep-0.3.0/src/ptrvector.h dangerdeep-0.3.0.my/src/ptrvector.h +--- dangerdeep-0.3.0/src/ptrvector.h 2007-06-11 19:16:23.000000000 +0400 ++++ dangerdeep-0.3.0.my/src/ptrvector.h 2012-10-08 17:33:01.034909571 +0400 +@@ -25,6 +25,7 @@ + + #include <vector> + #include <stdexcept> ++#include <memory> + + // same as std::vector regarding the interface, but handles pointers. + template <class T> +diff -wbBur dangerdeep-0.3.0/src/widget.cpp dangerdeep-0.3.0.my/src/widget.cpp +--- dangerdeep-0.3.0/src/widget.cpp 2007-06-11 19:16:23.000000000 +0400 ++++ dangerdeep-0.3.0.my/src/widget.cpp 2012-10-08 17:33:01.034909571 +0400 +@@ -32,6 +32,8 @@ + #include "datadirs.h" + #include <set> + #include <sstream> ++#include <algorithm> ++ + using std::vector; + using std::list; + using std::string; |