freebsd-ports/graphics/libflash/files/patch-ah
Pav Lucistnik 97a4c60baf - Switch to ./configure make make install way
Submitted by:	Li-Lun Wang (Leland Wang) <llwang@infor.org>
2004-11-18 09:55:55 +00:00

25 lines
447 B
Plaintext

--- lib/cxform.cc.orig Tue May 2 04:18:33 2000
+++ lib/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);