From cc97ad1cad0c0a929379bcb30d2848e783ae2fa0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 7 Mar 2019 15:27:45 +0100 Subject: community/aubio: make _real_ fix (tested at least once ...) --- community/aubio/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'community/aubio/PKGBUILD') diff --git a/community/aubio/PKGBUILD b/community/aubio/PKGBUILD index 708718d5..b96e10aa 100644 --- a/community/aubio/PKGBUILD +++ b/community/aubio/PKGBUILD @@ -1,6 +1,8 @@ eval "$( declare -f prepare | \ sed ' - /^{/ a find "${pkgbase}-${pkgver}/python/tests" -type f -exec sed -i "s/assert_equal/assert_almost_equal/" {} \\; + /^{/ a patch -d "${pkgbase}-${pkgver}" -p1 -i "${srcdir}/assert-almost.patch" ' )" +source+=(assert-almost.patch) +sha512sums+=('3a946aaf305ee93ad70ca3b26529fdd58822c9bd177b5a00ace99426b1ba50672d24331d13b6b172a0f8d01ed23feea478b6a15f379d6affa796eb6c2aaadeb2') -- cgit v1.2.3-54-g00ecf