aboutsummaryrefslogtreecommitdiffstats
path: root/games/battleball
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-08-20 04:15:21 +0800
committersteve <steve@FreeBSD.org>2000-08-20 04:15:21 +0800
commitc7d7ccca3a5a7c453a72c0c93352a7dfcaf8715f (patch)
treea8398784fd92f57ebcd0de0f3caa21b1b9b96450 /games/battleball
parent431d4935d7c13d3ee5d5ee1886a48aaadda4c203 (diff)
downloadfreebsd-ports-gnome-c7d7ccca3a5a7c453a72c0c93352a7dfcaf8715f.tar.gz
freebsd-ports-gnome-c7d7ccca3a5a7c453a72c0c93352a7dfcaf8715f.tar.zst
freebsd-ports-gnome-c7d7ccca3a5a7c453a72c0c93352a7dfcaf8715f.zip
We don't have fpsetmask(3) on the Alpha.
Diffstat (limited to 'games/battleball')
-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 7a027906392a..df87d334a507 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 *)
-+#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && !defined(__alpha__)
+#include <floatingpoint.h>
+#endif
#include "bb.h"
@@ -14,7 +14,7 @@
/*=========================================================================*/
// A long and complicated main() function!
main (int argc, char *argv[]) {
-+#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && !defined(__alpha__)
+ fpsetmask(0);
+#endif
bb= new battleBall(argc,argv);