summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2003-05-18 11:38:49 +0000
committerStefan Eßer <se@FreeBSD.org>2003-05-18 11:38:49 +0000
commit20af92c79d78e8b373c69e0309bb6c9ec610b8f1 (patch)
tree9bbee21853a0d59f3259652ef56931c79a9484c3 /games
parentUpdated to 0.24 (diff)
Fix build on 5.1 (remove port's conflicting definition of float_t)
Notes
Notes: svn path=/head/; revision=81216
Diffstat (limited to 'games')
-rw-r--r--games/acm/Makefile4
-rw-r--r--games/acm/files/patch-0812
2 files changed, 12 insertions, 4 deletions
diff --git a/games/acm/Makefile b/games/acm/Makefile
index be838f5bece4..9d40ee72dcc7 100644
--- a/games/acm/Makefile
+++ b/games/acm/Makefile
@@ -19,10 +19,6 @@ MAN6= acm.6
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile"
-.endif
-
# Include sound support (Use network audio server (nas))
.if defined(WITH_SOUND) || (exists(${PREFIX}/lib/libaudio.a) \
&& !defined(WITHOUT_SOUND))
diff --git a/games/acm/files/patch-08 b/games/acm/files/patch-08
new file mode 100644
index 000000000000..3bc28a5b5a69
--- /dev/null
+++ b/games/acm/files/patch-08
@@ -0,0 +1,12 @@
+--- src/interpolate.h~ Tue May 12 05:43:04 1998
++++ src/interpolate.h Sun May 18 13:25:35 2003
+@@ -31,7 +31,9 @@
+
+ #include <math.h>
+
++#ifndef __FreeBSD__
+ typedef float float_t;
++#endif
+
+ typedef struct {
+ float_t x; /* upper x value for this interval */