summaryrefslogtreecommitdiff
path: root/math/mpfr/patches
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2017-08-30 10:35:54 +0000
committermartin <martin@pkgsrc.org>2017-08-30 10:35:54 +0000
commit5c944bc0c8dfed942aebe4a9fbb00002b10ae23a (patch)
treeecf688f873a762e3c3adce399ede5c6cc05e0c25 /math/mpfr/patches
parent17970dd29be159b90c379b3d4c39ea09e40af7b1 (diff)
downloadpkgsrc-5c944bc0c8dfed942aebe4a9fbb00002b10ae23a.tar.gz
Hack the pkg to at least build + install on NetBSD/alpha - may need
revisiting after closer examination of the underlying issues.
Diffstat (limited to 'math/mpfr/patches')
-rw-r--r--math/mpfr/patches/patch-acinclude.m416
-rw-r--r--math/mpfr/patches/patch-configure16
2 files changed, 32 insertions, 0 deletions
diff --git a/math/mpfr/patches/patch-acinclude.m4 b/math/mpfr/patches/patch-acinclude.m4
new file mode 100644
index 00000000000..f1dbd0c7707
--- /dev/null
+++ b/math/mpfr/patches/patch-acinclude.m4
@@ -0,0 +1,16 @@
+$NetBSD: patch-acinclude.m4,v 1.1 2017/08/30 10:35:54 martin Exp $
+
+Remove alpha specific -miee* options currently not working on NetBSD (needs
+further investigation)
+
+--- acinclude.m4.orig 2016-09-27 09:58:14.000000000 +0200
++++ acinclude.m4 2017-08-30 12:23:59.333559123 +0200
+@@ -102,7 +102,7 @@
+ saved_CFLAGS="$CFLAGS"
+ AC_CACHE_CHECK([for IEEE-754 switches], mpfr_cv_ieee_switches, [
+ if test -n "$GCC"; then
+- mpfr_cv_ieee_switches="-mfp-rounding-mode=d -mieee-with-inexact"
++ mpfr_cv_ieee_switches=""
+ else
+ mpfr_cv_ieee_switches="-fprm d -ieee_with_inexact"
+ fi
diff --git a/math/mpfr/patches/patch-configure b/math/mpfr/patches/patch-configure
new file mode 100644
index 00000000000..4d26832a9a7
--- /dev/null
+++ b/math/mpfr/patches/patch-configure
@@ -0,0 +1,16 @@
+$NetBSD: patch-configure,v 1.1 2017/08/30 10:35:54 martin Exp $
+
+Remove alpha specific -miee* options currently not working on NetBSD (needs
+further investigation)
+
+--- configure.orig 2016-09-27 09:58:43.000000000 +0200
++++ configure 2017-08-30 12:24:27.235843640 +0200
+@@ -6337,7 +6337,7 @@
+ else
+
+ if test -n "$GCC"; then
+- mpfr_cv_ieee_switches="-mfp-rounding-mode=d -mieee-with-inexact"
++ mpfr_cv_ieee_switches=""
+ else
+ mpfr_cv_ieee_switches="-fprm d -ieee_with_inexact"
+ fi