1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/battleball/files/patch-ab
Will Andrews ff575837b6 Update to battleball 2.1. Since the author's original site is gone, and
since the tarball seems to be available on tucows, we'll move it there
instead of putting it on my people.FreeBSD.org space. This also fixes
the distfile fennerism, and finally we can remove USE_IMAKE! The patches
that have been removed are obsolete due to newer compilers.
2000-04-16 22:03:02 +00:00

23 lines
647 B
Plaintext

--- bb/main.C Thu Sep 2 22:25:19 1999
+++ bb/main.C.new Sun Apr 16 17:23:35 2000
@@ -11,6 +11,9 @@
#include <stdio.h> // to get sprintf()
#include <string.h> // to get strncpy()
#include <time.h> // to get time(time_t *)
+#ifdef __FreeBSD__
+#include <floatingpoint.h>
+#endif
#include "bb.h"
#include "bbgfxtarget.h"
#include "player.h"
@@ -803,6 +806,9 @@
/*=========================================================================*/
// A long and complicated main() function!
main (int argc, char *argv[]) {
+#ifdef __FreeBSD__
+ fpsetmask(0);
+#endif
bb= new battleBall(argc,argv);
bb->Play();
delete bb;