summaryrefslogtreecommitdiff
path: root/graphics/sodipodi
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-31 04:11:32 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-31 04:11:32 +0000
commitac188fe098a270bcc573db0026cb104a48c23418 (patch)
tree60d816726039ec6c2ee3a4026032274147cfb024 /graphics/sodipodi
parentupgrade to 2.0.1 (diff)
Really fix the build on alpha. Seems alpha does not have fpresetsticky.
Submitted by: beta Tested by: kris (build test only)
Diffstat (limited to 'graphics/sodipodi')
-rw-r--r--graphics/sodipodi/files/patch-src_main.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/sodipodi/files/patch-src_main.c b/graphics/sodipodi/files/patch-src_main.c
index e4fa667111cf..7e0e3b8d5982 100644
--- a/graphics/sodipodi/files/patch-src_main.c
+++ b/graphics/sodipodi/files/patch-src_main.c
@@ -1,5 +1,5 @@
---- src/main.c.orig Thu May 30 10:26:44 2002
-+++ src/main.c Thu May 30 10:29:17 2002
+--- 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 */
@@ -9,3 +9,12 @@
#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