From owner-svn-ports-all@freebsd.org Fri Jan 10 19:17:57 2020 Return-Path: Delivered-To: svn-ports-all@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 CD09C1F11D5; Fri, 10 Jan 2020 19:17:57 +0000 (UTC) (envelope-from sunpoet@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 47vXnK1qmQz42Q2; Fri, 10 Jan 2020 19:17:57 +0000 (UTC) (envelope-from sunpoet@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 3A1EE1EBB7; Fri, 10 Jan 2020 19:17:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00AJHvOU085982; Fri, 10 Jan 2020 19:17:57 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00AJHu82085980; Fri, 10 Jan 2020 19:17:56 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202001101917.00AJHu82085980@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 10 Jan 2020 19:17:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522608 - in head/devel/py-greenlet: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel/py-greenlet: . files X-SVN-Commit-Revision: 522608 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.29 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: Fri, 10 Jan 2020 19:17:57 -0000 Author: sunpoet Date: Fri Jan 10 19:17:56 2020 New Revision: 522608 URL: https://svnweb.freebsd.org/changeset/ports/522608 Log: Fix build on powerpc64 PR: 243241 Submitted by: pkubaj Added: head/devel/py-greenlet/files/ head/devel/py-greenlet/files/patch-slp_platformselect.h (contents, props changed) Modified: head/devel/py-greenlet/Makefile Modified: head/devel/py-greenlet/Makefile ============================================================================== --- head/devel/py-greenlet/Makefile Fri Jan 10 19:17:50 2020 (r522607) +++ head/devel/py-greenlet/Makefile Fri Jan 10 19:17:56 2020 (r522608) @@ -13,7 +13,7 @@ COMMENT= Light-weight microthreads for Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -NOT_FOR_ARCHS= mips mips64 powerpc64 +NOT_FOR_ARCHS= mips mips64 NOT_FOR_ARCHS_REASON= greenlet needs to be ported to this platform USES= python Added: head/devel/py-greenlet/files/patch-slp_platformselect.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-greenlet/files/patch-slp_platformselect.h Fri Jan 10 19:17:56 2020 (r522608) @@ -0,0 +1,11 @@ +--- slp_platformselect.h.orig 2020-01-10 10:02:27 UTC ++++ slp_platformselect.h +@@ -12,7 +12,7 @@ + #include "platform/switch_amd64_unix.h" /* gcc on amd64 */ + #elif defined(__GNUC__) && defined(__i386__) + #include "platform/switch_x86_unix.h" /* gcc on X86 */ +-#elif defined(__GNUC__) && defined(__powerpc64__) && defined(__linux__) ++#elif defined(__GNUC__) && defined(__powerpc64__) && (defined(__linux__) || defined(__FreeBSD__)) + #include "platform/switch_ppc64_linux.h" /* gcc on PowerPC 64-bit */ + #elif defined(__GNUC__) && defined(__PPC__) && defined(__linux__) + #include "platform/switch_ppc_linux.h" /* gcc on PowerPC */