aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2012-02-02 06:47:58 +0800
committerstephen <stephen@FreeBSD.org>2012-02-02 06:47:58 +0800
commitbd35ff839f26e6610458c5963ab7245662a2f159 (patch)
tree6631934aed1cdbad72cd87cea8b6fd42e5abcb61 /math
parentaafd6f99640a24c76103e4a3643beb90408ae4ee (diff)
downloadfreebsd-ports-gnome-bd35ff839f26e6610458c5963ab7245662a2f159.tar.gz
freebsd-ports-gnome-bd35ff839f26e6610458c5963ab7245662a2f159.tar.zst
freebsd-ports-gnome-bd35ff839f26e6610458c5963ab7245662a2f159.zip
- Patch to enable build on i386.
Diffstat (limited to 'math')
-rw-r--r--math/sage/files/spkg-patch-sympow-1.018.1.p9_-_src_fpu.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/sage/files/spkg-patch-sympow-1.018.1.p9_-_src_fpu.c b/math/sage/files/spkg-patch-sympow-1.018.1.p9_-_src_fpu.c
new file mode 100644
index 000000000000..50223f543631
--- /dev/null
+++ b/math/sage/files/spkg-patch-sympow-1.018.1.p9_-_src_fpu.c
@@ -0,0 +1,11 @@
+--- sympow-1.018.1.p9/src/fpu.c-orig 2012-02-01 01:01:04.000000000 +0000
++++ sympow-1.018.1.p9/src/fpu.c 2012-02-01 01:01:18.000000000 +0000
+@@ -1,8 +1,4 @@
+
+ void fpu_53bits()
+ {
+-#ifdef x86
+-#include <fpu_control.h>
+-fpu_control_t fpu_control=0x027f; _FPU_SETCW(fpu_control);
+-#endif
+ }