From owner-svn-ports-branches@freebsd.org Thu Aug 3 15:13:33 2017 Return-Path: Delivered-To: svn-ports-branches@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 23C50DC2A24; Thu, 3 Aug 2017 15:13:33 +0000 (UTC) (envelope-from feld@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 E230781CD3; Thu, 3 Aug 2017 15:13:32 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v73FDVug085767; Thu, 3 Aug 2017 15:13:31 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v73FDVHL085766; Thu, 3 Aug 2017 15:13:31 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201708031513.v73FDVHL085766@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Thu, 3 Aug 2017 15:13:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r447224 - branches/2017Q3/cad/openvsp X-SVN-Group: ports-branches X-SVN-Commit-Author: feld X-SVN-Commit-Paths: branches/2017Q3/cad/openvsp X-SVN-Commit-Revision: 447224 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2017 15:13:33 -0000 Author: feld Date: Thu Aug 3 15:13:31 2017 New Revision: 447224 URL: https://svnweb.freebsd.org/changeset/ports/447224 Log: MFH: r446855 Explicitly build with -std=gnu++11. This fixes the build with GCC 6, which switched its default from -std=gnu++98 to -std=gnu++14. With this switch, it added a `operator delete(void*, size_t)' overload and uses it for all delete calls. This does not play well with dependencies built with other compilers (such as base clang), which use the old operator delete overload and cause linking errors. PR: 219484 Submitted by: fernando.apesteguia@gmail.com (maintainer) Approved by: ports-secteam (with hat) Modified: branches/2017Q3/cad/openvsp/Makefile Directory Properties: branches/2017Q3/ (props changed) Modified: branches/2017Q3/cad/openvsp/Makefile ============================================================================== --- branches/2017Q3/cad/openvsp/Makefile Thu Aug 3 15:10:16 2017 (r447223) +++ branches/2017Q3/cad/openvsp/Makefile Thu Aug 3 15:13:31 2017 (r447224) @@ -34,6 +34,13 @@ CMAKE_SOURCE_PATH= ${WRKSRC}/SuperProject CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} USES= cmake:outsource,noninja compiler:gcc-c++11-lib jpeg +# On FreeBSD < 11 libc++ lacks support for sized delete operators. +# GCC dropped the builtin version of these operators in 6+ by +# defaulting to gnu++14. Force c++11 instead. +# For a more detailed discussion see: +# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219484 +USE_CXXSTD= gnu++11 + CMAKE_ARGS= -DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \ -DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \ -DVSP_USE_SYSTEM_CODEELI:BOOLEAN=no \