svn commit: r530830 - head/devel/py-greenlet/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Apr 5 19:55:49 UTC 2020


Author: sunpoet
Date: Sun Apr  5 19:55:41 2020
New Revision: 530830
URL: https://svnweb.freebsd.org/changeset/ports/530830

Log:
  Fix build on powerpc
  
  PR:		243786
  Reported by:	canardo <canardo909 at gmx.com>
  Submitted by:	pkubaj

Modified:
  head/devel/py-greenlet/files/patch-slp_platformselect.h

Modified: head/devel/py-greenlet/files/patch-slp_platformselect.h
==============================================================================
--- head/devel/py-greenlet/files/patch-slp_platformselect.h	Sun Apr  5 19:55:36 2020	(r530829)
+++ head/devel/py-greenlet/files/patch-slp_platformselect.h	Sun Apr  5 19:55:41 2020	(r530830)
@@ -1,11 +1,14 @@
---- slp_platformselect.h.orig	2020-01-10 10:02:27 UTC
+--- slp_platformselect.h.orig	2018-07-23 18:02:45 UTC
 +++ slp_platformselect.h
-@@ -12,7 +12,7 @@
+@@ -12,9 +12,9 @@
  #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__)
+-#elif defined(__GNUC__) && defined(__PPC__) && defined(__linux__)
++#elif defined(__GNUC__) && defined(__PPC__) && (defined(__linux__) || defined(__FreeBSD__))
  #include "platform/switch_ppc_linux.h" /* gcc on PowerPC */
+ #elif defined(__GNUC__) && defined(__ppc__) && defined(__APPLE__)
+ #include "platform/switch_ppc_macosx.h" /* Apple MacOS X on PowerPC */


More information about the svn-ports-all mailing list