From owner-svn-ports-head@freebsd.org Thu Aug 1 19:26:17 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE49AC6E82; Thu, 1 Aug 2019 19:26:17 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4600dj5bBcz49QY; Thu, 1 Aug 2019 19:26:17 +0000 (UTC) (envelope-from pkubaj@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 A1AA11F0A5; Thu, 1 Aug 2019 19:26:17 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x71JQHZZ019355; Thu, 1 Aug 2019 19:26:17 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x71JQH8R019354; Thu, 1 Aug 2019 19:26:17 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201908011926.x71JQH8R019354@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Thu, 1 Aug 2019 19:26:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507826 - in head/graphics/gsculpt: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/graphics/gsculpt: . files X-SVN-Commit-Revision: 507826 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.29 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: Thu, 01 Aug 2019 19:26:17 -0000 Author: pkubaj Date: Thu Aug 1 19:26:17 2019 New Revision: 507826 URL: https://svnweb.freebsd.org/changeset/ports/507826 Log: graphics/gsculpt: fix build on GCC architectures Since this port links to Boost, it needs C++11 compiler. Use switch_ppc_unix.h on FreeBSD, instead of only on Linux. Approved by: linimon (mentor) Differential Revision: https://reviews.freebsd.org/D21082 Added: head/graphics/gsculpt/files/patch-cpp_extlibs_greenlet_slp__platformselect.h (contents, props changed) Modified: head/graphics/gsculpt/Makefile Modified: head/graphics/gsculpt/Makefile ============================================================================== --- head/graphics/gsculpt/Makefile Thu Aug 1 19:21:09 2019 (r507825) +++ head/graphics/gsculpt/Makefile Thu Aug 1 19:26:17 2019 (r507826) @@ -24,7 +24,7 @@ BROKEN_sparc64= fails to compile WRKSRC= ${WRKDIR}/${DISTNAME:S,-src,,} -USES= pkgconfig python:2.7 scons +USES= compiler:c++11-lang pkgconfig python:2.7 scons USE_GNOME= pygtk2 USE_GL= glu USE_XORG= x11 Added: head/graphics/gsculpt/files/patch-cpp_extlibs_greenlet_slp__platformselect.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gsculpt/files/patch-cpp_extlibs_greenlet_slp__platformselect.h Thu Aug 1 19:26:17 2019 (r507826) @@ -0,0 +1,11 @@ +--- cpp/extlibs/greenlet/slp_platformselect.h.orig 2019-07-26 21:28:17 UTC ++++ cpp/extlibs/greenlet/slp_platformselect.h +@@ -8,7 +8,7 @@ + #include "switch_amd64_unix.h" /* gcc on amd64 */ + #elif defined(__GNUC__) && defined(__i386__) + #include "switch_x86_unix.h" /* gcc on X86 */ +-#elif defined(__GNUC__) && defined(__PPC__) && defined(__linux__) ++#elif defined(__GNUC__) && defined(__PPC__) && !defined(__APPLE__) + #include "switch_ppc_unix.h" /* gcc on PowerPC */ + #elif defined(__GNUC__) && defined(__ppc__) && defined(__APPLE__) + #include "switch_ppc_macosx.h" /* Apple MacOS X on PowerPC */