Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/webkit2gtk
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-01-01 10:18:25 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-01-01 10:18:25 +0100
commitcbda377c90c88a2a9e42f11690b6a1e4c87819c2 (patch)
tree3a14a5240edbe94360349c15f9dfcd7abc3562d3 /extra/webkit2gtk
parentf13415b1285fd2c980595d365893faad38578cf3 (diff)
extra/webkit2gtk: do not apply *.arch32.patch when CARCH is pentium4
Diffstat (limited to 'extra/webkit2gtk')
-rw-r--r--extra/webkit2gtk/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/webkit2gtk/PKGBUILD b/extra/webkit2gtk/PKGBUILD
index b141a037..a0ddcbbb 100644
--- a/extra/webkit2gtk/PKGBUILD
+++ b/extra/webkit2gtk/PKGBUILD
@@ -4,12 +4,14 @@ source_i686+=('webkitgtk-2.24.2-no-sse2.arch32.patch' 'webkitgtk-2.26.2-no-sse2-
sha256sums_i486+=('e95391eceeb29d0ebc57d6b867afd7cd95ed92683edeb28c6a7a5048b5a9b85b' '48f46468c54518c3ce94b73321336a1f1aaf2d121b9222bc8d861726078b3001')
sha256sums_i686+=('e95391eceeb29d0ebc57d6b867afd7cd95ed92683edeb28c6a7a5048b5a9b85b' '48f46468c54518c3ce94b73321336a1f1aaf2d121b9222bc8d861726078b3001')
-eval "$(
- declare -f prepare | \
- sed '
- /cd.*/a for _p in \"$srcdir\"\/*.arch32.patch; do patch -p1 -i \"$_p\"; done
- '
-)"
+if [ "${CARCH}" != "pentium4" ]; then
+ eval "$(
+ declare -f prepare | \
+ sed '
+ /cd.*/a for _p in \"$srcdir\"\/*.arch32.patch; do patch -p1 -i \"$_p\"; done
+ '
+ )"
+fi
# work around broken generated makefiles resulting in
# "make[2]: *** No rule to make target 'JavaScriptCore-4.0.gir', needed by 'WebKit2-4.0.gir'. Stop."