1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/graphics/libflash/files/patch-ah
Akinori MUSHA d68321e2a0 Separate libflash from flashplayer after a repocopy.
libflash (FlashLib) is a GPL Flash (TM) Library to play Flash movies.
2000-10-14 09:28:52 +00:00

25 lines
439 B
Plaintext

--- 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";
#endif
+#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
newColor.red = getRed(color.red);
newColor.green = getGreen(color.green);