summaryrefslogtreecommitdiff
path: root/community/aubio
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-09-13 10:47:27 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-09-13 10:47:27 +0200
commit05eb67bfa65d119aaf091f3ce699f3d67aa8c1fe (patch)
tree2da47f3f6093c4774c221780d624eed562973d8a /community/aubio
parent3d4aa24f4a45cfd2e8bf7acbb4b529a212b791e0 (diff)
downloadpackages-05eb67bfa65d119aaf091f3ce699f3d67aa8c1fe.tar.xz
community/aubio: CARCH -> i686 patch for pentium4
Diffstat (limited to 'community/aubio')
-rw-r--r--community/aubio/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/aubio/PKGBUILD b/community/aubio/PKGBUILD
index b96e10aa..d4bafbd7 100644
--- a/community/aubio/PKGBUILD
+++ b/community/aubio/PKGBUILD
@@ -6,3 +6,13 @@ eval "$(
)"
source+=(assert-almost.patch)
sha512sums+=('3a946aaf305ee93ad70ca3b26529fdd58822c9bd177b5a00ace99426b1ba50672d24331d13b6b172a0f8d01ed23feea478b6a15f379d6affa796eb6c2aaadeb2')
+
+# CARCH -> pentium4 bug
+if [ "${CARCH}" = "pentium4" ]; then
+ eval "$(
+ declare -f check | \
+ sed '
+ s/${CARCH}/i686/
+ '
+ )"
+fi