summaryrefslogtreecommitdiff
path: root/math/gnuplot+/files/patch-za
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-07-16 10:50:50 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-07-16 10:50:50 +0000
commitbefca8acf5af8f432f9f1bd21e123014f27430eb (patch)
tree4e61e7c7c78e65b1eb06f2ec5ce80f689331192d /math/gnuplot+/files/patch-za
parentUpdate to 2004.07.16. (diff)
[math/gnuplot+] fix amd64 build failure
It is marked BROKEN on amd64 because FreeBSD/amd64 does not have some IEEE FP functions like fpresetsticky(). The build failure log is now available at http://pointyhat.freebsd.org/errorlogs/amd64-5-full/gnuplot371+-1.2.0_1.log I found file/patch-za causes the problem. The feature of this patch as reported in ports/16120 can take effect only on FreeBSD/i386. PR: ports/69143 Submitted by: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
Notes
Notes: svn path=/head/; revision=113764
Diffstat (limited to 'math/gnuplot+/files/patch-za')
-rw-r--r--math/gnuplot+/files/patch-za12
1 files changed, 6 insertions, 6 deletions
diff --git a/math/gnuplot+/files/patch-za b/math/gnuplot+/files/patch-za
index ce8fa1a2cd21..143d34abc0d4 100644
--- a/math/gnuplot+/files/patch-za
+++ b/math/gnuplot+/files/patch-za
@@ -4,7 +4,7 @@
# define EINTR E_ILLFNC
#endif
-+#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
++#if defined(__FreeBSD__) && ( defined(__i386__)
+# include <floatingpoint.h>
+#endif
+
@@ -15,7 +15,7 @@
int argc;
char *argv[];
{
-+#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
++#if defined(__FreeBSD__) && ( defined(__i386__)
+ /* allow divide by zero -- Inf */
+ fpsetmask(fpgetmask() & ~(FP_X_DZ | FP_X_INV));
+#endif
@@ -27,7 +27,7 @@
}
XCloseDisplay(dpy);
+
-+#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
++#if defined(__FreeBSD__) && ( defined(__i386__)
+ fpresetsticky(FP_X_DZ | FP_X_INV);
+ fpsetmask(fpgetmask() | (FP_X_DZ | FP_X_INV));
+#endif
@@ -41,7 +41,7 @@
# endif
#endif /* _Windows */
-+#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
++#if defined(__FreeBSD__) && ( defined(__i386__)
+# include <floatingpoint.h>
+#endif
+
@@ -52,7 +52,7 @@
_control87(MCW_EM, MCW_EM);
#endif
-+#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
++#if defined(__FreeBSD__) && ( defined(__i386__)
+ /* allow divide by zero -- Inf */
+ fpsetmask(fpgetmask() & ~(FP_X_DZ | FP_X_INV));
+#endif
@@ -66,7 +66,7 @@
RexxDeregisterSubcom("GNUPLOT", NULL);
+#endif
+
-+#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
++#if defined(__FreeBSD__) && ( defined(__i386__)
+ fpresetsticky(FP_X_DZ | FP_X_INV);
+ fpsetmask(fpgetmask() | (FP_X_DZ | FP_X_INV));
#endif