aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-02 02:01:16 +0800
committerkrion <krion@FreeBSD.org>2004-02-02 02:01:16 +0800
commit77f9161c256e2fba6188e1f272508689ad0cbb2e (patch)
tree4aa69d67b89215253d71f5b722fd0b1f1bacab1f /games
parent046e84020916b77abeaf49f963fd2a366212f487 (diff)
downloadfreebsd-ports-gnome-77f9161c256e2fba6188e1f272508689ad0cbb2e.tar.gz
freebsd-ports-gnome-77f9161c256e2fba6188e1f272508689ad0cbb2e.tar.zst
freebsd-ports-gnome-77f9161c256e2fba6188e1f272508689ad0cbb2e.zip
- Fix build on AMD64
Diffstat (limited to 'games')
-rw-r--r--games/battleball/files/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/battleball/files/patch-ab b/games/battleball/files/patch-ab
index df87d334a507..6db63fcfcb25 100644
--- a/games/battleball/files/patch-ab
+++ b/games/battleball/files/patch-ab
@@ -4,7 +4,7 @@
#include <stdio.h> // to get sprintf()
#include <string.h> // to get strncpy()
#include <time.h> // to get time(time_t *)
-+#if defined(__FreeBSD__) && !defined(__alpha__)
++#if defined(__FreeBSD__) && !defined(__alpha__) && !defined(__amd64__)
+#include <floatingpoint.h>
+#endif
#include "bb.h"
@@ -14,7 +14,7 @@
/*=========================================================================*/
// A long and complicated main() function!
main (int argc, char *argv[]) {
-+#if defined(__FreeBSD__) && !defined(__alpha__)
++#if defined(__FreeBSD__) && !defined(__alpha__) && !defined(__amd64__)
+ fpsetmask(0);
+#endif
bb= new battleBall(argc,argv);