diff options
Diffstat (limited to 'graphics/libflash/files/patch-ah')
| -rw-r--r-- | graphics/libflash/files/patch-ah | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/graphics/libflash/files/patch-ah b/graphics/libflash/files/patch-ah index da5fa199155b..80628391a448 100644 --- a/graphics/libflash/files/patch-ah +++ b/graphics/libflash/files/patch-ah @@ -1,21 +1,24 @@ ---- 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 @@ +--- cxform.cc.orig Tue May 2 04:18:33 2000 ++++ cxform.cc Thu Oct 12 14:44:03 2000 +@@ -26,6 +26,10 @@ 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); ++#ifdef __FreeBSD__ ++#include <ieeefp.h> ++#endif ++ + long + Cxform::getRed(long v) { + long val; +@@ -69,6 +73,10 @@ + Color + Cxform::getColor(Color color) { + Color newColor; ++ ++#ifdef __FreeBSD__ ++ fpsetmask(0); +#endif - fpsetmask(FP_X_DZ|FP_X_INV); - #endif + newColor.red = getRed(color.red); + newColor.green = getGreen(color.green); |
