aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2018-10-26 15:52:41 +0300
committerAndy Postnikov <apostnikov@gmail.com>2018-10-27 12:51:35 +0300
commit4a696c3d4810c331859a8623b2c7b7e94db9e14a (patch)
treebfe44683d37aafec4e366be34a0be422881d2c13 /community
parentbf60f35f2f9788a3b37f858f4ac58c720ed2d0e9 (diff)
downloadaports-4a696c3d4810c331859a8623b2c7b7e94db9e14a.tar.bz2
aports-4a696c3d4810c331859a8623b2c7b7e94db9e14a.tar.xz
community/py-greenlet: add ppc64le patch
Diffstat (limited to 'community')
-rw-r--r--community/py-greenlet/APKBUILD6
-rw-r--r--community/py-greenlet/ppc64le_clobbering.patch10
2 files changed, 14 insertions, 2 deletions
diff --git a/community/py-greenlet/APKBUILD b/community/py-greenlet/APKBUILD
index 69770bab8a..1bdd937f2d 100644
--- a/community/py-greenlet/APKBUILD
+++ b/community/py-greenlet/APKBUILD
@@ -11,7 +11,8 @@ license="MIT"
depends=""
makedepends="python2-dev py-setuptools python3-dev"
subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
+ ppc64le_clobbering.patch"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -50,4 +51,5 @@ _py3() {
_py python3
}
-sha512sums="a3b7856aadc988fe153f5cf62552dd6219358f35ee2ca136e5eb5c9871cb7545986753af299e6b3e95877e9aa564559e95c548785f78e680766630b047a1ec89 greenlet-0.4.15.tar.gz"
+sha512sums="a3b7856aadc988fe153f5cf62552dd6219358f35ee2ca136e5eb5c9871cb7545986753af299e6b3e95877e9aa564559e95c548785f78e680766630b047a1ec89 greenlet-0.4.15.tar.gz
+3770c57f6a2cf36d33a5d39d5a3d12596a5b3255727fa24b6a7f1c18eda18c491ad140ff12bc804e818975e31461ff37d6705448de7ed7a0e5c3cd60137962d9 ppc64le_clobbering.patch"
diff --git a/community/py-greenlet/ppc64le_clobbering.patch b/community/py-greenlet/ppc64le_clobbering.patch
new file mode 100644
index 0000000000..0b8f9f1f6c
--- /dev/null
+++ b/community/py-greenlet/ppc64le_clobbering.patch
@@ -0,0 +1,10 @@
+--- greenlet-0.4.15/platform/switch_ppc64_linux.h.a
++++ greenlet-0.4.15/platform/switch_ppc64_linux.h
+@@ -66,7 +66,6 @@
+
+ #define REGS_TO_SAVE "r14", "r15", "r16", "r17", "r18", "r19", "r20", \
+ "r21", "r22", "r23", "r24", "r25", "r26", "r27", "r28", "r29", \
+- "r31", \
+ "fr14", "fr15", "fr16", "fr17", "fr18", "fr19", "fr20", "fr21", \
+ "fr22", "fr23", "fr24", "fr25", "fr26", "fr27", "fr28", "fr29", \
+ "fr30", "fr31", \