Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-04-29 17:46:52 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-04-29 17:46:52 +0200
commit0d3262eaea468d135686e36f7662ca3547acff69 (patch)
tree59fc83711a5250ea38f41bf5dacef2a27755c09d
parenta3ad6a52e3e58c050ea28ba7fc9b0591d14cd7e7 (diff)
extra/libxkbcommon: better X11 i486 patching
-rw-r--r--extra/libxkbcommon/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/extra/libxkbcommon/PKGBUILD b/extra/libxkbcommon/PKGBUILD
index 3c04600f..b8f73859 100644
--- a/extra/libxkbcommon/PKGBUILD
+++ b/extra/libxkbcommon/PKGBUILD
@@ -40,11 +40,6 @@ if [ "${CARCH}" = "i486" ]; then
s/arch-meson/arch-meson -Denable-x11=false/
'
)"
-
- pkgname=($(
- printf '%s\n' "${pkgname[@]}" | \
- sed '/^libxkbcommon-x11/d'
- ))
eval "$(
declare -f package_libxkbcommon | \
@@ -53,6 +48,12 @@ if [ "${CARCH}" = "i486" ]; then
'
)"
+ eval "$(
+ declare -f package_libxkbcommon-x11 | \
+ sed '
+ /x11/d
+ '
+ )"
fi