summaryrefslogtreecommitdiff
path: root/games/amphetamine/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--games/amphetamine/files/patch-ab31
1 files changed, 0 insertions, 31 deletions
diff --git a/games/amphetamine/files/patch-ab b/games/amphetamine/files/patch-ab
deleted file mode 100644
index fe93a29098cc..000000000000
--- a/games/amphetamine/files/patch-ab
+++ /dev/null
@@ -1,31 +0,0 @@
---- src/Main.cpp.orig Sun Mar 24 17:49:09 2002
-+++ src/Main.cpp Mon Mar 1 19:51:09 2004
-@@ -1,3 +1,7 @@
-+#if defined(__FreeBSD__) && defined(__i386__)
-+#include <floatingpoint.h>
-+#endif
-+
- #include "System.hpp"
- #include "Appl.hpp"
- #include "Clut.hpp"
-@@ -75,6 +79,9 @@
- my_argv = argv;
- if (checkCommandLine()) return 0;
-
-+#if defined(__FreeBSD__) && defined(__i386__)
-+ fpsetmask(fpgetmask() & ~(FP_X_DZ|FP_X_INV));
-+#endif
- gApplication = new CApplication();
- gApplication->InitGraphics();
- gApplication->LoadData();
-@@ -83,5 +90,10 @@
- gApplication->Quit();
- delete gApplication;
-
-+#if defined(__FreeBSD__) && defined(__i386__)
-+ fpresetsticky(FP_X_DZ|FP_X_INV);
-+ fpsetmask(FP_X_DZ|FP_X_INV);
-+#endif
-+
- return 0;
- }