From owner-svn-ports-head@freebsd.org Tue Aug 1 16:58:59 2017 Return-Path: Delivered-To: svn-ports-head@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 D0248DB34C5; Tue, 1 Aug 2017 16:58:59 +0000 (UTC) (envelope-from rakuco@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 8E5C083595; Tue, 1 Aug 2017 16:58:59 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v71GwweU030787; Tue, 1 Aug 2017 16:58:58 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v71GwwsW030786; Tue, 1 Aug 2017 16:58:58 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201708011658.v71GwwsW030786@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Tue, 1 Aug 2017 16:58:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447032 - head/graphics/animorph X-SVN-Group: ports-head X-SVN-Commit-Author: rakuco X-SVN-Commit-Paths: head/graphics/animorph X-SVN-Commit-Revision: 447032 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.23 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: Tue, 01 Aug 2017 16:58:59 -0000 Author: rakuco Date: Tue Aug 1 16:58:58 2017 New Revision: 447032 URL: https://svnweb.freebsd.org/changeset/ports/447032 Log: Explicitly build with -std=gnu++03. The port fails to build with C++11 and later. GCC 6 uses -std=gnu++14 by default, and fails like this: xmlParser.cpp: In function 'char* stringDup(const char*, int)': xmlParser.cpp:464:36: error: cast from 'std::nullptr_t' to 'char' loses precision [-fpermissive] lpszNew[cbData] = (XMLCHAR)NULL; Since this version of animorph is from 2007 and the code has completely changed upstream (it does not even use C++ anymore), there is little point in fixing the code instead of just making it build like it did before. PR: 219279 Approved by: portmgr (blanket approval) Modified: head/graphics/animorph/Makefile Modified: head/graphics/animorph/Makefile ============================================================================== --- head/graphics/animorph/Makefile Tue Aug 1 16:48:08 2017 (r447031) +++ head/graphics/animorph/Makefile Tue Aug 1 16:58:58 2017 (r447032) @@ -17,6 +17,7 @@ USES= pkgconfig gmake libtool USE_LDCONFIG= yes INSTALL_TARGET= install-strip USE_GCC= any # otherwise graphics/makehuman won't link +USE_CXXSTD= gnu++03 # The port is not compatible with C++11 and later. CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib