From 7dccb4a16654deca24b928739d92e013f5a33af4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 25 Mar 2015 11:20:18 +0100 Subject: [PATCH] ltrace: make this build again. --- srcpkgs/ltrace/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template index 89c836b6c12..77ff2371fb4 100644 --- a/srcpkgs/ltrace/template +++ b/srcpkgs/ltrace/template @@ -1,13 +1,21 @@ # Template file for 'ltrace' pkgname=ltrace version=0.7.3 -revision=2 +revision=3 build_style=gnu-configure +hostmakedepends="automake libtool git" makedepends="elfutils-devel" conf_files="/etc/ltrace.conf" short_desc="Tracks runtime library calls in dynamically linked programs" maintainer="Juan RP " homepage="http://ltrace.alioth.debian.org/" license="GPL-2" -distfiles="http://xbps.nopcode.org/distfiles/ltrace-${version}.tar.bz2" -checksum=0e6f8c077471b544c06def7192d983861ad2f8688dd5504beae62f0c5f5b9503 + +CFLAGS="-Wno-error" + +do_fetch() { + git clone -b${version} git://anonscm.debian.org/collab-maint/ltrace.git ${wrksrc} +} +pre_configure() { + autoreconf -fi +}