Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/luajit/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-02-12 09:23:56 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2023-02-12 09:23:56 +0100
commitf2fe72f858dcdba287069aa667d1dbef2dc48f55 (patch)
tree086d826343f31579475d5bd220192b90e71b6a06 /community/luajit/PKGBUILD
parent07f28c262c53b5f8d9bca490cf6cca55e1fec55d (diff)
community/luajit: Re-enable x87 support for i686 CPUs (fix from KitsuWhooa)
Diffstat (limited to 'community/luajit/PKGBUILD')
-rw-r--r--community/luajit/PKGBUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/luajit/PKGBUILD b/community/luajit/PKGBUILD
new file mode 100644
index 00000000..32e7acad
--- /dev/null
+++ b/community/luajit/PKGBUILD
@@ -0,0 +1,14 @@
+# Re-enable x87 support for i686 CPUs (fix from KitsuWhooa)
+if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
+ source+=('c7815e1a1b49871e645252bb12e722fb4879df11.patch')
+ md5sums+=('08349ecff9120560d3b73e5c4cab81d6')
+ sha256sums+=('fc680d5d0c4b71d14ebaea336eb8fdc48b6f0d29118217a7f1d39bd41cbd5ed9')
+ b2sums+=('79c1f9cb26706b85da289d6014a9aa4e7976e0950360067ecd9ec25d8ba36ef80986b7effa852a2fe7887575dc64c0c6d15d3d7716c35ff4ff1e5bd13292eefa')
+ eval "$(
+ declare -f build | \
+ sed '
+ /make/ i \
+ patch -p1 -i "$srcdir/c7815e1a1b49871e645252bb12e722fb4879df11.patch"
+ '
+ )"
+fi