From e770683faca92d396561a9434c8b27f043bfcccd Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 12 Jun 2019 14:54:18 +0200 Subject: extra/qt5-declarative: trying a minimal non-SSE2 patch for WASM --- ...o-not-make-lack-of-SSE2-support-on-x86-32-fatal.patch | Bin 3849 -> 0 bytes extra/qt5-declarative/PKGBUILD | 11 +++++------ ...arative-everywhere-src-5.12.3-no-sse2-non-fatal.patch | Bin 0 -> 865 bytes 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 extra/qt5-declarative/Do-not-make-lack-of-SSE2-support-on-x86-32-fatal.patch create mode 100644 extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch (limited to 'extra/qt5-declarative') diff --git a/extra/qt5-declarative/Do-not-make-lack-of-SSE2-support-on-x86-32-fatal.patch b/extra/qt5-declarative/Do-not-make-lack-of-SSE2-support-on-x86-32-fatal.patch deleted file mode 100644 index a4ce8465..00000000 Binary files a/extra/qt5-declarative/Do-not-make-lack-of-SSE2-support-on-x86-32-fatal.patch and /dev/null differ diff --git a/extra/qt5-declarative/PKGBUILD b/extra/qt5-declarative/PKGBUILD index e7c1c832..387fb122 100644 --- a/extra/qt5-declarative/PKGBUILD +++ b/extra/qt5-declarative/PKGBUILD @@ -1,13 +1,12 @@ -# see https://bugreports.qt.io/browse/QTBUG-35430 -# and https://lists.debian.org/debian-qt-kde/2015/10/msg00388.html -# and https://packages.debian.org/sid/qtdeclarative5-dev +# disable croaking about missing SSE2 for WASM (web assemblies) when +# instantiating a Javascript engine -source+=(Do-not-make-lack-of-SSE2-support-on-x86-32-fatal.patch) -sha256sums+=('26120747f744571f2ead15c904fcd8d60e0c94fb538c711ae6051ab02d418e0d') +source+=(qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch) +sha256sums+=('5dce1799db9c4bca10006eb4a4980ffa74d6da5b18ab02f31a5267c44338b765') eval "$( declare -f prepare | \ sed ' - /cd/a if [ "${CARCH}" != "pentium4" ]; then patch -Np1 -i ../Do-not-make-lack-of-SSE2-support-on-x86-32-fatal.patch; fi + /cd/a if [ "${CARCH}" != "pentium4" ]; then patch -Np1 -i ../qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch; fi ' )" diff --git a/extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch b/extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch new file mode 100644 index 00000000..7af11f4b Binary files /dev/null and b/extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch differ -- cgit v1.2.3-54-g00ecf