diff options
author | Marian Buschsieweke <m.buschsieweke@uni-muenster.de> | 2016-04-30 11:42:18 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-02 17:30:27 +0000 |
commit | 6ca1c411b328719764275a31de15b4b3453d3719 (patch) | |
tree | 7e703c76ced90cfdcfe1394b425f9440bf761821 /main/valgrind | |
parent | 1b77b99057f204718bab6468f87b16ac07190aae (diff) | |
download | aports-6ca1c411b328719764275a31de15b4b3453d3719.tar.bz2 aports-6ca1c411b328719764275a31de15b4b3453d3719.tar.xz |
main/valgrind: Patched to compile on armhf
The configure script only detects armv7, not armv6. The included patch changes
the configure script to detect all arm versions, as valgrind supports
"up to and including ARMv7" (http://www.valgrind.org/info/platforms.html).
I've tested valgrind's memcheck, which just seem to work :-)
Diffstat (limited to 'main/valgrind')
-rw-r--r-- | main/valgrind/APKBUILD | 14 | ||||
-rw-r--r-- | main/valgrind/arm.patch | 11 |
2 files changed, 20 insertions, 5 deletions
diff --git a/main/valgrind/APKBUILD b/main/valgrind/APKBUILD index 58e49d566f..e826ced70f 100644 --- a/main/valgrind/APKBUILD +++ b/main/valgrind/APKBUILD @@ -4,7 +4,7 @@ pkgver=3.11.0 pkgrel=1 pkgdesc="A tool to help find memory-management problems in programs" url="http://valgrind.org/" -arch="x86 x86_64" +arch="x86 x86_64 armhf" license="GPL2+" depends="" # it seems like busybox sed works but the configure script requires GNU sed @@ -18,7 +18,8 @@ options="!strip" subpackages="$pkgname-dev $pkgname-doc" source="http://$pkgname.org/downloads/$pkgname-$pkgver.tar.bz2 uclibc.patch - musl-fixes.patch" + musl-fixes.patch + arm.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -71,10 +72,13 @@ package() { md5sums="4ea62074da73ae82e0162d6550d3f129 valgrind-3.11.0.tar.bz2 c29b4572a070eb0d3a6a977be586c771 uclibc.patch -6a5ab2ceaa4b5b907730fec90fdd4946 musl-fixes.patch" +6a5ab2ceaa4b5b907730fec90fdd4946 musl-fixes.patch +751d4eff90f997b0131e63dede131cf2 arm.patch" sha256sums="6c396271a8c1ddd5a6fb9abe714ea1e8a86fce85b30ab26b4266aeb4c2413b42 valgrind-3.11.0.tar.bz2 fab5afea5cb7abec79ff68088d97ccc188613c733b4dfc8ede029cb818ec397f uclibc.patch -1a9e76609ebb2b9c178fe28d2b1f6e75cc0d82351b916e4dfdd7178a9554a3a1 musl-fixes.patch" +1a9e76609ebb2b9c178fe28d2b1f6e75cc0d82351b916e4dfdd7178a9554a3a1 musl-fixes.patch +d23df431a8e60e074aa2838441a77799c3079af4a2a1bdc48d4848e3239628c4 arm.patch" sha512sums="a25f97fa80aef4ad1e86b303886cd7a97aac248820a4c24e3d3dc26567dd7d2d86db237866468fd43885a9fb8534cb0a8e301a3c752fffbc231a2842272999da valgrind-3.11.0.tar.bz2 d59a10db9037e120df2ee94a103402ca95a79abee9d8be63e4e1bca29c82dca775cc402a79b854ec11a2160a4d2da202c237369418e221d1925267ea2613fd5d uclibc.patch -47735294a0641208c6bcbc51203019da18ec16d51316ca6437d0f9eba14d9acc09d82f65149b8b1d56aba90825397ef0c215e8036eccd0dce1287c58ee3ccda2 musl-fixes.patch" +47735294a0641208c6bcbc51203019da18ec16d51316ca6437d0f9eba14d9acc09d82f65149b8b1d56aba90825397ef0c215e8036eccd0dce1287c58ee3ccda2 musl-fixes.patch +9ee297d1b2b86891584443ad0caadc4977e1447979611ccf1cc55dbee61911b0b063bc4ad936d86c451cedae410cb3219b5a088b2ad0aa17df182d564fe36cfe arm.patch" diff --git a/main/valgrind/arm.patch b/main/valgrind/arm.patch new file mode 100644 index 0000000000..8281c8ba1f --- /dev/null +++ b/main/valgrind/arm.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -234,7 +234,7 @@ + ARCH_MAX="s390x" + ;; + +- armv7*) ++ arm*) + AC_MSG_RESULT([ok (${host_cpu})]) + ARCH_MAX="arm" + ;; |