diff options
author | krion <krion@FreeBSD.org> | 2005-01-28 02:22:37 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-01-28 02:22:37 +0800 |
commit | 9ce18bfd63feeee01f3764c06c43eb899e083062 (patch) | |
tree | 621cb44fb8bb68bdd23c185c35a19abf0320ad42 /games/highmoon | |
parent | 6db16e2a48c29e1720c871dad0ea48b2ceed6fe9 (diff) | |
download | freebsd-ports-graphics-9ce18bfd63feeee01f3764c06c43eb899e083062.tar.gz freebsd-ports-graphics-9ce18bfd63feeee01f3764c06c43eb899e083062.tar.zst freebsd-ports-graphics-9ce18bfd63feeee01f3764c06c43eb899e083062.zip |
Fix build on 4.x
Diffstat (limited to 'games/highmoon')
-rw-r--r-- | games/highmoon/files/patch-galaxy.cpp | 14 | ||||
-rw-r--r-- | games/highmoon/files/patch-graphics.hpp | 15 | ||||
-rw-r--r-- | games/highmoon/files/patch-sound.cpp | 14 |
3 files changed, 43 insertions, 0 deletions
diff --git a/games/highmoon/files/patch-galaxy.cpp b/games/highmoon/files/patch-galaxy.cpp new file mode 100644 index 00000000000..e9ce7295d55 --- /dev/null +++ b/games/highmoon/files/patch-galaxy.cpp @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- galaxy.cpp.orig ++++ galaxy.cpp +@@ -24,7 +24,7 @@ + ******************************************************************************************/ + + #include <cmath> +- ++#include <time.h> + #include "galaxy.hpp" + #include "sound.hpp" + diff --git a/games/highmoon/files/patch-graphics.hpp b/games/highmoon/files/patch-graphics.hpp new file mode 100644 index 00000000000..dfb2caba9b7 --- /dev/null +++ b/games/highmoon/files/patch-graphics.hpp @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- graphics.hpp.orig ++++ graphics.hpp +@@ -30,7 +30,8 @@ + #define __GRAPHICS_HPP__ + + #include <SDL.h> +- ++#include <sstream> ++#include <string> + #include "constants.hpp" + + /****************************************************************************************** diff --git a/games/highmoon/files/patch-sound.cpp b/games/highmoon/files/patch-sound.cpp new file mode 100644 index 00000000000..7d24d8b5fb0 --- /dev/null +++ b/games/highmoon/files/patch-sound.cpp @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- sound.cpp.orig ++++ sound.cpp +@@ -24,7 +24,7 @@ + ******************************************************************************************/ + + #include <iostream> +- ++#include <stdlib.h> + #include "sound.hpp" + + Soundset::Sample Soundset::sounds[ NUMBEROFCHANNELS ]; |