From owner-svn-ports-all@freebsd.org Tue Jan 9 21:04:45 2018 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 88455E7291A; Tue, 9 Jan 2018 21:04:45 +0000 (UTC) (envelope-from rakuco@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 63E0D71277; Tue, 9 Jan 2018 21:04:45 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A40EE1C3A1; Tue, 9 Jan 2018 21:04:44 +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 w09L4i9f003112; Tue, 9 Jan 2018 21:04:44 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w09L4icN003111; Tue, 9 Jan 2018 21:04:44 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201801092104.w09L4icN003111@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, 9 Jan 2018 21:04:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458573 - head/devel/py-krosspython/files X-SVN-Group: ports-head X-SVN-Commit-Author: rakuco X-SVN-Commit-Paths: head/devel/py-krosspython/files X-SVN-Commit-Revision: 458573 X-SVN-Commit-Repository: ports 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.25 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: Tue, 09 Jan 2018 21:04:45 -0000 Author: rakuco Date: Tue Jan 9 21:04:44 2018 New Revision: 458573 URL: https://svnweb.freebsd.org/changeset/ports/458573 Log: Backport a patch to fix the build with -std=gnu++14. clang 6.0 defaults to -std=gnu++14 instead of -std=gnu++98. This backport fixes the following error: /wrkdirs/usr/ports/devel/py-krosspython/work/kross-interpreters-4.14.3/python/cxx/Objects.hxx:1081:15: error: cannot initialize a member subobject of type 'int' with an rvalue of type 'nullptr_t' , offset( NULL ) ^ ~~~~ PR: 224945 Added: head/devel/py-krosspython/files/ head/devel/py-krosspython/files/patch-git_81e17bf (contents, props changed) Added: head/devel/py-krosspython/files/patch-git_81e17bf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-krosspython/files/patch-git_81e17bf Tue Jan 9 21:04:44 2018 (r458573) @@ -0,0 +1,27 @@ +commit 81e17bf1d8514cc4f00191776022ba2e0c935b27 +Author: Tobias C. Berner +Date: Wed Jul 26 14:31:32 2017 +0200 + + Fix build on FreBSD + + Summary: + kross-interpreters/python/cxx/Objects.hxx:1081:15: error: cannot initialize + a member subobject of type 'int' with an rvalue of type 'nullptr_t' + , offset( NULL ) + ^ ~~~~ + + Reviewers: #freebsd, aspotashev + + Differential Revision: https://phabricator.kde.org/D6928 + +--- python/cxx/Objects.hxx ++++ python/cxx/Objects.hxx +@@ -1078,7 +1078,7 @@ namespace Py + // TMM: added this seqref ctor for use with STL algorithms + seqref (Object& obj) + : s(dynamic_cast< SeqBase&>(obj)) +- , offset( NULL ) ++ , offset( 0 ) + , the_item(s.getItem(offset)) + {} + ~seqref()