diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-04-14 08:51:31 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-04-14 08:51:31 +0800 |
commit | 6aa89d86e0dc1079187756618551efef1e648657 (patch) | |
tree | 6649cda460bad6d39881508705125a029e373913 /games/qonk | |
parent | aa185b276628050d45b5a00d5da8fda672d1f5a7 (diff) | |
download | freebsd-ports-gnome-6aa89d86e0dc1079187756618551efef1e648657.tar.gz freebsd-ports-gnome-6aa89d86e0dc1079187756618551efef1e648657.tar.zst freebsd-ports-gnome-6aa89d86e0dc1079187756618551efef1e648657.zip |
- Fix build on DragonFly
Diffstat (limited to 'games/qonk')
-rw-r--r-- | games/qonk/files/patch-src_lisp_lexer.cpp | 11 | ||||
-rw-r--r-- | games/qonk/files/patch-src_lisp_lisp.cpp | 11 | ||||
-rw-r--r-- | games/qonk/files/patch-src_lisp_parser.cpp | 10 | ||||
-rw-r--r-- | games/qonk/files/patch-src_sdl__driver.cpp | 10 | ||||
-rw-r--r-- | games/qonk/files/patch-src_videooptions.cpp | 9 |
5 files changed, 51 insertions, 0 deletions
diff --git a/games/qonk/files/patch-src_lisp_lexer.cpp b/games/qonk/files/patch-src_lisp_lexer.cpp new file mode 100644 index 000000000000..5b7df9e7bc68 --- /dev/null +++ b/games/qonk/files/patch-src_lisp_lexer.cpp @@ -0,0 +1,11 @@ +--- src/lisp/lexer.cpp.orig 2007-09-14 09:43:03.000000000 +0400 ++++ src/lisp/lexer.cpp 2015-03-27 02:52:52.633169000 +0300 +@@ -19,6 +19,8 @@ + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + #include <sstream> + #include <stdexcept> ++#include <cstring> ++#include <cstdio> + + #include "lexer.hpp" + #include "translation.hpp" diff --git a/games/qonk/files/patch-src_lisp_lisp.cpp b/games/qonk/files/patch-src_lisp_lisp.cpp new file mode 100644 index 000000000000..e2fa3f9ebc07 --- /dev/null +++ b/games/qonk/files/patch-src_lisp_lisp.cpp @@ -0,0 +1,11 @@ +--- src/lisp/lisp.cpp.orig 2007-09-14 09:43:03.000000000 +0400 ++++ src/lisp/lisp.cpp 2015-03-27 02:52:43.801343000 +0300 +@@ -17,6 +17,8 @@ + // You should have received a copy of the GNU General Public License + // along with this program; if not, write to the Free Software + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ++#include <cstdio> ++ + #include "lisp.hpp" + + namespace lisp diff --git a/games/qonk/files/patch-src_lisp_parser.cpp b/games/qonk/files/patch-src_lisp_parser.cpp new file mode 100644 index 000000000000..0fff0098fe44 --- /dev/null +++ b/games/qonk/files/patch-src_lisp_parser.cpp @@ -0,0 +1,10 @@ +--- src/lisp/parser.cpp.orig 2007-09-14 09:43:03.000000000 +0400 ++++ src/lisp/parser.cpp 2015-03-27 02:51:42.723015000 +0300 +@@ -20,6 +20,7 @@ + #include <sstream> + #include <stdexcept> + #include <fstream> ++#include <cstring> + + #include <cassert> + diff --git a/games/qonk/files/patch-src_sdl__driver.cpp b/games/qonk/files/patch-src_sdl__driver.cpp new file mode 100644 index 000000000000..d7a80993d89f --- /dev/null +++ b/games/qonk/files/patch-src_sdl__driver.cpp @@ -0,0 +1,10 @@ +--- src/sdl_driver.cpp.orig 2007-09-14 09:43:03.000000000 +0400 ++++ src/sdl_driver.cpp 2015-03-27 02:55:29.588996000 +0300 +@@ -5,6 +5,7 @@ + #include <SDL/SDL.h> + #include <SDL/SDL_ttf.h> + #include <cstdio> ++#include <cstdlib> + + #include "sdl_driver.h" + #include "canvas.h" diff --git a/games/qonk/files/patch-src_videooptions.cpp b/games/qonk/files/patch-src_videooptions.cpp new file mode 100644 index 000000000000..cccc5c8e0c58 --- /dev/null +++ b/games/qonk/files/patch-src_videooptions.cpp @@ -0,0 +1,9 @@ +--- src/videooptions.cpp.orig 2015-03-27 02:53:21.432311000 +0300 ++++ src/videooptions.cpp 2015-03-27 02:53:29.960147000 +0300 +@@ -1,5 +1,6 @@ + #include <vector> + #include <sstream> ++#include <algorithm> + + #include <SDL/SDL.h> + |