summaryrefslogtreecommitdiff
path: root/graphics/libflash
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-08-08 02:49:11 +0000
committerSteve Price <steve@FreeBSD.org>2000-08-08 02:49:11 +0000
commit4f35114a4cfdb475362fb282c81f3f830f4766e0 (patch)
tree35a1ce56d16ee4132e51820939240b752c8468dc /graphics/libflash
parentMark this port 'ONLY_FOR_ARCHS=i386' as it contains an i386 .so. (diff)
Don't try to use the non-existent fpresetsticky function on the Alpha.
Notes
Notes: svn path=/head/; revision=31397
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
+