aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-06-19 12:24:21 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-06-19 12:24:21 +0000
commit659ef1d0c7c5e4b2e8fc8d5f82544ed7202003bf (patch)
treef8b796ce3c2b7e66a7e9675492d2b4e41bd4eb72 /math
parent601e1cf0a91fedd32fac21f1953d818a7f655a94 (diff)
downloadports-659ef1d0c7c5e4b2e8fc8d5f82544ed7202003bf.tar.gz
ports-659ef1d0c7c5e4b2e8fc8d5f82544ed7202003bf.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/gnuplot+/files/patch-za20
1 files changed, 10 insertions, 10 deletions
diff --git a/math/gnuplot+/files/patch-za b/math/gnuplot+/files/patch-za
index 730323f0842e..ce8fa1a2cd21 100644
--- a/math/gnuplot+/files/patch-za
+++ b/math/gnuplot+/files/patch-za
@@ -1,10 +1,10 @@
---- gplt_x11.c.ORIG Thu Dec 2 17:02:05 1999
-+++ gplt_x11.c Thu Dec 2 17:02:54 1999
+--- gplt_x11.c.orig Wed May 7 14:21:25 2003
++++ gplt_x11.c Wed May 7 14:55:22 2003
@@ -169,6 +169,10 @@
# define EINTR E_ILLFNC
#endif
-+#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
+# include <floatingpoint.h>
+#endif
+
@@ -15,7 +15,7 @@
int argc;
char *argv[];
{
-+#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
+ /* allow divide by zero -- Inf */
+ fpsetmask(fpgetmask() & ~(FP_X_DZ | FP_X_INV));
+#endif
@@ -27,7 +27,7 @@
}
XCloseDisplay(dpy);
+
-+#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
+ fpresetsticky(FP_X_DZ | FP_X_INV);
+ fpsetmask(fpgetmask() | (FP_X_DZ | FP_X_INV));
+#endif
@@ -35,13 +35,13 @@
FPRINTF((stderr, "exiting\n"));
---- plot.c.ORIG Thu Dec 2 17:02:05 1999
-+++ plot.c Thu Dec 2 17:02:54 1999
+--- plot.c.orig Wed May 7 14:21:25 2003
++++ plot.c Wed May 7 14:45:09 2003
@@ -73,6 +73,10 @@
# endif
#endif /* _Windows */
-+#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
+# include <floatingpoint.h>
+#endif
+
@@ -52,7 +52,7 @@
_control87(MCW_EM, MCW_EM);
#endif
-+#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
+ /* allow divide by zero -- Inf */
+ fpsetmask(fpgetmask() & ~(FP_X_DZ | FP_X_INV));
+#endif
@@ -66,7 +66,7 @@
RexxDeregisterSubcom("GNUPLOT", NULL);
+#endif
+
-+#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
+ fpresetsticky(FP_X_DZ | FP_X_INV);
+ fpsetmask(fpgetmask() | (FP_X_DZ | FP_X_INV));
#endif