aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2016-02-06 13:44:00 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2016-02-06 13:44:00 +0000
commita27d1db0eaa68ac384c845783ccb813009d96a07 (patch)
treeb6f3a6c5f1b372c5f3d1473e857ca99bc7b9a7c9 /lang
parentf927e29a043b395570d80a7bec969155d9d16285 (diff)
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc6-devel/files/patch-libstdc++-configure36
1 files changed, 36 insertions, 0 deletions
diff --git a/lang/gcc6-devel/files/patch-libstdc++-configure b/lang/gcc6-devel/files/patch-libstdc++-configure
new file mode 100644
index 000000000000..f90d6d7eae2d
--- /dev/null
+++ b/lang/gcc6-devel/files/patch-libstdc++-configure
@@ -0,0 +1,36 @@
+commit 8be7de1a900b22622b7f4ef3534572dfb1f52892
+Author: Jonathan Wakely <jwakely@redhat.com>
+Date: Thu Feb 4 23:54:47 2016 +0000
+
+ Enable isinf/isnan checks for all targets
+
+ * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Enable checks for
+ obsolete isinf and isnan for all targets except *-*-solaris2.*.
+ * configure: Regenerate.
+
+diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
+index 057b58e..bdcb264 100644
+--- libstdc++-v3/acinclude.m4
++++ libstdc++-v3/acinclude.m4
+@@ -2215,7 +2215,7 @@ AC_DEFUN([GLIBCXX_CHECK_MATH11_PROTO], [
+ fi
+ AC_MSG_RESULT([$glibcxx_cv_math11_overload])
+ ;;
+- *-*-*gnu* | *-*-aix* | *-*-hpux*)
++ *)
+ # If <math.h> defines the obsolete isinf(double) and isnan(double)
+ # functions (instead of or as well as the C99 generic macros) then we
+ # can't define std::isinf(double) and std::isnan(double) in <cmath>
+diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
+index a919a3e..c3f627f 100755
+--- libstdc++-v3/configure
++++ libstdc++-v3/configure
+@@ -18266,7 +18266,7 @@ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
+ $as_echo "$glibcxx_cv_math11_overload" >&6; }
+ ;;
+- *-*-*gnu* | *-*-aix* | *-*-hpux*)
++ *)
+ # If <math.h> defines the obsolete isinf(double) and isnan(double)
+ # functions (instead of or as well as the C99 generic macros) then we
+ # can't define std::isinf(double) and std::isnan(double) in <cmath>