From owner-svn-ports-all@freebsd.org Sat Feb 6 13:44:01 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B477EA9E47B; Sat, 6 Feb 2016 13:44:01 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 682D91B2E; Sat, 6 Feb 2016 13:44:01 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u16Di0oB050056; Sat, 6 Feb 2016 13:44:00 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u16Di0CW050055; Sat, 6 Feb 2016 13:44:00 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201602061344.u16Di0CW050055@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Sat, 6 Feb 2016 13:44:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408296 - head/lang/gcc6-devel/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 13:44:01 -0000 Author: gerald Date: Sat Feb 6 13:44:00 2016 New Revision: 408296 URL: https://svnweb.freebsd.org/changeset/ports/408296 Log: Fix the build on FreeBSD 9.x. Somehow recent improvements in upstream GCC around detecting support for isinf and isnan only went half way. Added: head/lang/gcc6-devel/files/patch-libstdc++-configure (contents, props changed) Added: head/lang/gcc6-devel/files/patch-libstdc++-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gcc6-devel/files/patch-libstdc++-configure Sat Feb 6 13:44:00 2016 (r408296) @@ -0,0 +1,36 @@ +commit 8be7de1a900b22622b7f4ef3534572dfb1f52892 +Author: Jonathan Wakely +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 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 +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 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