summaryrefslogtreecommitdiff
path: root/graphics/libflash/files/patch-ah
blob: 80628391a448ebb274b4eddc7c1a438559715cc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- 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);