aboutsummaryrefslogtreecommitdiffstats
path: root/games/highmoon
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-01-28 02:22:37 +0800
committerkrion <krion@FreeBSD.org>2005-01-28 02:22:37 +0800
commit9ce18bfd63feeee01f3764c06c43eb899e083062 (patch)
tree621cb44fb8bb68bdd23c185c35a19abf0320ad42 /games/highmoon
parent6db16e2a48c29e1720c871dad0ea48b2ceed6fe9 (diff)
downloadfreebsd-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.cpp14
-rw-r--r--games/highmoon/files/patch-graphics.hpp15
-rw-r--r--games/highmoon/files/patch-sound.cpp14
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 ];