Date: Thu, 1 Aug 2019 19:26:17 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507826 - in head/graphics/gsculpt: . files Message-ID: <201908011926.x71JQH8R019354@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908011926.x71JQH8R019354>