aboutsummaryrefslogtreecommitdiff
path: root/graphics/libflash
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libflash')
-rw-r--r--graphics/libflash/files/patch-ah21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/libflash/files/patch-ah b/graphics/libflash/files/patch-ah
new file mode 100644
index 000000000000..da5fa199155b
--- /dev/null
+++ b/graphics/libflash/files/patch-ah
@@ -0,0 +1,21 @@
+--- Lib/cxform.cc.orig Sun Aug 6 18:07:51 2000
++++ Lib/cxform.cc Sun Aug 6 18:08:18 2000
+@@ -23,7 +23,7 @@
+ static char *rcsid = "$Id";
+
+ #ifdef __FreeBSD__
+-#include <floatingpoint.h>
++#include <ieeefp.h>
+ #endif
+
+ #include "cxform.h"
+@@ -63,7 +63,9 @@
+ if (newColor.blue > 255) newColor.blue = 255;
+ newColor.alpha = getAlpha(color.alpha);
+ #ifdef __FreeBSD__
++#ifndef __alpha__
+ fpresetsticky(FP_X_DZ|FP_X_INV);
++#endif
+ fpsetmask(FP_X_DZ|FP_X_INV);
+ #endif
+