From owner-svn-ports-head@freebsd.org Wed May 23 21:34:19 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B02F3EE6BEC; Wed, 23 May 2018 21:34:19 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 539097FFE7; Wed, 23 May 2018 21:34:19 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 31DDD743; Wed, 23 May 2018 21:34:19 +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 w4NLYIWQ090027; Wed, 23 May 2018 21:34:18 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4NLYI7Z090026; Wed, 23 May 2018 21:34:18 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201805232134.w4NLYI7Z090026@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Wed, 23 May 2018 21:34:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470722 - head/lang/gcc9-devel/files X-SVN-Group: ports-head X-SVN-Commit-Author: gerald X-SVN-Commit-Paths: head/lang/gcc9-devel/files X-SVN-Commit-Revision: 470722 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 21:34:19 -0000 Author: gerald Date: Wed May 23 21:34:18 2018 New Revision: 470722 URL: https://svnweb.freebsd.org/changeset/ports/470722 Log: Fix the build on FreeBSD versions with libc++ as default. The failure mode looked as follows: In file included from /scratch/tmp/gerald/gcc-HEAD/libcpp/system.h:442: In file included from /usr/include/c++/v1/new:91: /usr/include/c++/v1/exception:180:5: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'? _VSTD::abort(); ^~~~~~~ Added: head/lang/gcc9-devel/files/patch-libcpp-includenew (contents, props changed) Added: head/lang/gcc9-devel/files/patch-libcpp-includenew ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gcc9-devel/files/patch-libcpp-includenew Wed May 23 21:34:18 2018 (r470722) @@ -0,0 +1,30 @@ +commit 76804c272544cdc90bd2b468f52f414e18f1c6da +Author: Jason Merrill +Date: Mon May 21 22:02:11 2018 -0400 + + * system.h: #include earlier. + +--- libcpp/system.h ++++ libcpp/system.h +@@ -37,6 +37,10 @@ along with GCC; see the file COPYING3. If not see + + #include + ++#ifdef __cplusplus ++#include ++#endif ++ + /* Define a generic NULL if one hasn't already been defined. */ + #ifndef NULL + #define NULL 0 +@@ -438,10 +442,6 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; + /* Some compilers do not allow the use of unsigned char in bitfields. */ + #define BOOL_BITFIELD unsigned int + +-#ifdef __cplusplus +-#include +-#endif +- + /* Poison identifiers we do not want to use. */ + #if (GCC_VERSION >= 3000) + #undef calloc