diff --git a/srcpkgs/valgrind/patches/linux-99999.patch b/srcpkgs/valgrind/patches/linux-99999.patch new file mode 100644 index 00000000000..664e6bb3ac2 --- /dev/null +++ b/srcpkgs/valgrind/patches/linux-99999.patch @@ -0,0 +1,11 @@ +--- configure.orig 2015-05-10 21:13:43.957032176 +0200 ++++ configure 2015-05-10 21:13:54.365150623 +0200 +@@ -5553,7 +5553,7 @@ $as_echo_n "checking for the kernel vers + kernel=`uname -r` + + case "${kernel}" in +- 2.6.*|3.*) ++ 2.6.*|[3-9].*) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6.x/3.x family (${kernel})" >&5 + $as_echo "2.6.x/3.x family (${kernel})" >&6; } + diff --git a/srcpkgs/valgrind/template b/srcpkgs/valgrind/template index 9afca42b86f..ccdbc9a77c7 100644 --- a/srcpkgs/valgrind/template +++ b/srcpkgs/valgrind/template @@ -15,6 +15,10 @@ license="GPL-2" distfiles="http://www.valgrind.org/downloads/${pkgname}-${version}.tar.bz2" checksum=fa253dc26ddb661b6269df58144eff607ea3f76a9bcfe574b0c7726e1dfcb997 +if [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then + configure_args+=" ac_cv_host=armv7l-unknown-linux-gnueabihf" +fi + valgrind-devel_package() { depends="valgrind>=${version}" short_desc+=" - development files"