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:
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