Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/python-shapely
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-05-11 06:11:00 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-05-11 06:11:00 +0300
commitfa94996fa2668812caf08800a1912faa203a46ad (patch)
tree91f03c89f49f8606e39b21aadfaf2cdef906c16e /extra/python-shapely
parent18b214cac3dd44e449e4b1faec2fa057b9cfe67d (diff)
extra/python-shapely: Fix patch and gcc14 build
Diffstat (limited to 'extra/python-shapely')
-rw-r--r--extra/python-shapely/PKGBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/extra/python-shapely/PKGBUILD b/extra/python-shapely/PKGBUILD
index 14ce07a9..c45e9935 100644
--- a/extra/python-shapely/PKGBUILD
+++ b/extra/python-shapely/PKGBUILD
@@ -1,16 +1,8 @@
-# temporary fix for:
-# - https://github.com/Toblerity/Shapely/pull/762
-#
-# which caused:
-# - https://community.ultimaker.com/topic/29721-archlinux32-cura-341/?_fromLogin=1#replyForm
-#
-source+=(load_dll_c.patch)
-sha512sums+=('6dee4823b76d5057beaed09e9ed529d03a9f76141598a4038f3c51cbca828b1f3e9203a25dab91ee1ff31fee2bf2781d6171dc662f5aa1715c9d5296f8607c60')
-
+# Temporary hack for gcc14
eval "$(
- declare -f prepare | \
+ declare -f build | \
sed '
- $ i cd Shapely-$pkgver && patch -p1 -i "$srcdir/load_dll_c.patch"
+ 3 i CFLAGS="-Wno-incompatible-pointer-types $CFLAGS"
'
)"
@@ -18,6 +10,6 @@ eval "$(
eval "$(
declare -f check | \
sed '
- /.*py.test/s/\$CARCH/i686/
+ s/x86_64/i686/
'
)"