pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-greenlet Allow this to build on NetBSD/powerp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/846d924f8640
branches:  trunk
changeset: 365224:846d924f8640
user:      he <he%pkgsrc.org@localhost>
date:      Tue Jul 11 17:31:16 2017 +0000

description:
Allow this to build on NetBSD/powerpc as well.
Bump PKGREVISION.

diffstat:

 devel/py-greenlet/Makefile                            |   3 ++-
 devel/py-greenlet/distinfo                            |   3 ++-
 devel/py-greenlet/patches/patch-slp__platformselect.h |  13 +++++++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r e2584acbdcff -r 846d924f8640 devel/py-greenlet/Makefile
--- a/devel/py-greenlet/Makefile        Tue Jul 11 17:15:32 2017 +0000
+++ b/devel/py-greenlet/Makefile        Tue Jul 11 17:31:16 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2017/04/12 11:40:08 adam Exp $
+# $NetBSD: Makefile,v 1.5 2017/07/11 17:31:16 he Exp $
 
 DISTNAME=      greenlet-0.4.12
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/greenlet/}
 
diff -r e2584acbdcff -r 846d924f8640 devel/py-greenlet/distinfo
--- a/devel/py-greenlet/distinfo        Tue Jul 11 17:15:32 2017 +0000
+++ b/devel/py-greenlet/distinfo        Tue Jul 11 17:31:16 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2017/04/12 11:40:08 adam Exp $
+$NetBSD: distinfo,v 1.5 2017/07/11 17:31:16 he Exp $
 
 SHA1 (greenlet-0.4.12.tar.gz) = ac7f0341cd2395e0bdef70749c4e1dc89038ba99
 RMD160 (greenlet-0.4.12.tar.gz) = 1bef75bfa4c2a5dc8ce3e1a7a098ef7aeb777887
 SHA512 (greenlet-0.4.12.tar.gz) = f3bf0f82b6e3bc687fc9b89469339cfb05e64518d1e49bc96066e8d47b8559f1c1aa53692cd25d839437a2f1b81df6fd9a4509a1b4063ec4ce1d97b73842e9f6
 Size (greenlet-0.4.12.tar.gz) = 57319 bytes
+SHA1 (patch-slp__platformselect.h) = 9df936439c29d8e824e8a17bdf9e687d3c2d8ecd
diff -r e2584acbdcff -r 846d924f8640 devel/py-greenlet/patches/patch-slp__platformselect.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-greenlet/patches/patch-slp__platformselect.h     Tue Jul 11 17:31:16 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-slp__platformselect.h,v 1.1 2017/07/11 17:31:16 he Exp $
+
+--- slp_platformselect.h.orig  2016-12-10 23:52:06.000000000 +0000
++++ slp_platformselect.h
+@@ -20,6 +20,8 @@
+ #include "platform/switch_ppc_macosx.h" /* Apple MacOS X on PowerPC */
+ #elif defined(__GNUC__) && defined(_ARCH_PPC) && defined(_AIX)
+ #include "platform/switch_ppc_aix.h" /* gcc on AIX/PowerPC */
++#elif defined(__GNUC__) && defined(__powerpc__) && defined(__NetBSD__)
++#include "platform/switch_ppc_unix.h" /* gcc on NetBSD/powerpc */
+ #elif defined(__GNUC__) && defined(sparc)
+ #include "platform/switch_sparc_sun_gcc.h" /* SunOS sparc with gcc */
+ #elif defined(__SUNPRO_C) && defined(sparc) && defined(sun)



Home | Main Index | Thread Index | Old Index