aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-08-08 10:49:11 +0800
committersteve <steve@FreeBSD.org>2000-08-08 10:49:11 +0800
commite9b02aff4029a4e93457ff3e006517cdc6186565 (patch)
tree01ae362ede47d09be4cc6761e84500a706400f13
parentcf7ba08eb3dc68f74d2dd3e0d1df7fba45a315e3 (diff)
downloadfreebsd-ports-gnome-e9b02aff4029a4e93457ff3e006517cdc6186565.tar.gz
freebsd-ports-gnome-e9b02aff4029a4e93457ff3e006517cdc6186565.tar.zst
freebsd-ports-gnome-e9b02aff4029a4e93457ff3e006517cdc6186565.zip
Don't try to use the non-existent fpresetsticky function on the Alpha.
-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
+