Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/valgrind/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/valgrind/PKGBUILD')
-rw-r--r--extra/valgrind/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/valgrind/PKGBUILD b/extra/valgrind/PKGBUILD
index 040cc81f..1ac1e8e2 100644
--- a/extra/valgrind/PKGBUILD
+++ b/extra/valgrind/PKGBUILD
@@ -10,3 +10,13 @@ prepare() {
cd $pkgname-$pkgver
patch -Np1 -i "$srcdir/valgrind-3.13.0-ignore-redundant-addr16-prefix-in-rel-call.patch"
}
+
+# remove multilib dependencies and targets
+depends=(
+ $(
+ printf '%s\n' "${depends[@]}" | \
+ sed '/^lib32-glibc\($\|[<>=]\)/d'
+ )
+)
+provides=("${provides[@]/$pkgname-multilib}")
+replaces=("${replaces[@]/$pkgname-multilib}")