From eaf9688be3847e609d0a81a18bcee4b3529b1373 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@voidlinux.eu>
Date: Sat, 9 May 2015 11:27:32 +0200
Subject: [PATCH] libunwind: unbreak musl build (disable tests).

---
 srcpkgs/libunwind/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template
index ff74467aab..813606a1e2 100644
--- a/srcpkgs/libunwind/template
+++ b/srcpkgs/libunwind/template
@@ -1,7 +1,7 @@
 # Template file for 'libunwind'.
 pkgname=libunwind
 version=1.1
-revision=4
+revision=5
 build_style=gnu-configure
 hostmakedepends="libtool automake"
 makedepends="liblzma-devel"
@@ -15,7 +15,7 @@ checksum=9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a
 pre_configure() {
 	# https://lists.gnu.org/archive/html/libunwind-devel/2014-06/msg00024.html
 	sed -i /LIBCRTS/s/-lgcc/-lgcc_s/ configure.ac
-
+	sed -i /SUBDIRS/s/tests// Makefile.am
 	autoreconf -fi
 }