Package: libmpdclient
Version: 2.9
Severity: normal
Tags: patch
User: [email protected]
Usertags: autoreconf

Hi,

This is a patch that run autoreconf during the build avoiding FTBFS on the new
architectures (as ppc64el).
This patch provides a patch according to [1]

[1] - 
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

Thank you,
Breno

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: libmpdclient-2.9/debian/control
===================================================================
--- libmpdclient-2.9.orig/debian/control	2014-05-15 15:56:07.000000000 +0000
+++ libmpdclient-2.9/debian/control	2014-05-15 15:57:41.000000000 +0000
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Sebastian Harl <[email protected]>
-Build-Depends: debhelper (>= 7), autotools-dev, doxygen
+Build-Depends: debhelper (>= 7), autotools-dev, doxygen, dh-autoreconf
 Standards-Version: 3.9.4
 Homepage: http://mpd.wikia.com/wiki/ClientLib:libmpdclient
 Vcs-Git: git://git.tokkee.org/pkg-libmpdclient.git
Index: libmpdclient-2.9/debian/rules
===================================================================
--- libmpdclient-2.9.orig/debian/rules	2014-05-15 15:56:07.000000000 +0000
+++ libmpdclient-2.9/debian/rules	2014-05-15 15:58:22.000000000 +0000
@@ -45,6 +45,7 @@
 
 build-stamp: config.status
 	dh_testdir
+	dh_autoreconf
 	
 	$(MAKE)
 	test -z '$(CHECK)' || make $(CHECK)
@@ -54,6 +55,7 @@
 clean:
 	dh_testdir
 	dh_testroot
+	dh_autoreconf_clean
 	rm -f build-stamp
 	
 	[ ! -f Makefile ] || $(MAKE) distclean

Reply via email to