From 4f35114a4cfdb475362fb282c81f3f830f4766e0 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Tue, 8 Aug 2000 02:49:11 +0000 Subject: [PATCH] Don't try to use the non-existent fpresetsticky function on the Alpha. --- graphics/libflash/files/patch-ah | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 graphics/libflash/files/patch-ah 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 ++#include + #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 +