freebsd-ports/games/glasteroids/files/patch-ac
Kirill Ponomarev fa77fb4d88 - Fix build on non-i386 arch
PR:		ports/63876
Submitted by:	Ports Fury
2004-03-07 16:43:37 +00:00

21 lines
481 B
Text

--- Glasteroids.cxx.orig Wed Aug 11 19:48:58 1999
+++ Glasteroids.cxx Sun Aug 6 19:33:33 2000
@@ -1,5 +1,8 @@
#include <stdlib.h>
#include <time.h>
+#if defined(__FreeBSD__) && defined(__i386__)
+#include <floatingpoint.h>
+#endif
#include "Bobcat.h"
/*
@@ -75,6 +78,9 @@
{
BCworld *world;
+#if defined(__FreeBSD__) && defined(__i386__)
+ fpsetmask(0);
+#endif
world = BCgetWorld ( );
world->InitWorld ( argc, argv,"Glasteroids", 640, 480, 100 );