summaryrefslogtreecommitdiff
path: root/graphics/sodipodi/files/patch-src_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sodipodi/files/patch-src_main.c')
-rw-r--r--graphics/sodipodi/files/patch-src_main.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/sodipodi/files/patch-src_main.c b/graphics/sodipodi/files/patch-src_main.c
new file mode 100644
index 000000000000..7e0e3b8d5982
--- /dev/null
+++ b/graphics/sodipodi/files/patch-src_main.c
@@ -0,0 +1,20 @@
+--- src/main.c.orig Sun Apr 15 16:27:51 2001
++++ src/main.c Thu May 30 23:14:44 2002
+@@ -17,7 +17,7 @@
+ #include <tree.h> /* libxml */
+
+ #ifdef __FreeBSD__
+-#include <floatingpoint.h>
++#include <ieeefp.h>
+ #endif
+
+ #include "sodipodi-private.h"
+@@ -357,7 +357,7 @@
+
+ }
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && defined(__i386__)
+ fpresetsticky(FP_X_DZ|FP_X_INV);
+ fpsetmask(FP_X_DZ|FP_X_INV);
+ #endif