From f2fe72f858dcdba287069aa667d1dbef2dc48f55 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 12 Feb 2023 09:23:56 +0100 Subject: community/luajit: Re-enable x87 support for i686 CPUs (fix from KitsuWhooa) --- community/luajit/PKGBUILD | 14 ++++++++++++++ .../c7815e1a1b49871e645252bb12e722fb4879df11.patch | Bin 0 -> 48317 bytes 2 files changed, 14 insertions(+) create mode 100644 community/luajit/PKGBUILD create mode 100644 community/luajit/c7815e1a1b49871e645252bb12e722fb4879df11.patch (limited to 'community') 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 diff --git a/community/luajit/c7815e1a1b49871e645252bb12e722fb4879df11.patch b/community/luajit/c7815e1a1b49871e645252bb12e722fb4879df11.patch new file mode 100644 index 00000000..608c8224 Binary files /dev/null and b/community/luajit/c7815e1a1b49871e645252bb12e722fb4879df11.patch differ -- cgit v1.2.3-54-g00ecf