Package: libsamplerate Version: 0.1.8-6 Severity: normal Tags: patch User: debian-de...@lists.debian.org Usertags: autoreconf
Hi Erik, In Ubuntu, we've recently patched libsamplerate to use dh-autoreconf at build time. From time to time, a new port will require changes to the files generated by autotools that are bundled in the upstream sources; usually this is just config.sub/config.guess, but in the case of the recent Linux ppc64el port, changes to ltmain.sh from libtool were also required. Calling dh-autoreconf on each build ensures that the package remains buildable across future ports, without the need for intrusive updates to the source via porter NMUs. I know you've just updated libsamplerate to use autotools-dev for config.{sub,guess} refreshing, but it would be great if you could include this patch instead to more completely address the needs of new ports as they happen. Thanks for considering the patch. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
=== modified file 'debian/control' --- debian/control 2014-01-19 21:02:34 +0000 +++ debian/control 2014-01-26 02:17:54 +0000 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Erik de Castro Lopo <er...@mega-nerd.com> DM-Upload-Allowed: yes -Build-Depends: debhelper (>> 8.1.3), autotools-dev, fftw3-dev, libsndfile1-dev +Build-Depends: debhelper (>> 8.1.3), dh-autoreconf, fftw3-dev, libsndfile1-dev Standards-Version: 3.9.5 Homepage: http://www.mega-nerd.com/SRC/ === modified file 'debian/rules' --- debian/rules 2014-01-19 21:02:34 +0000 +++ debian/rules 2014-01-26 00:32:09 +0000 @@ -17,7 +17,7 @@ config.status: configure dh_testdir - dh_autotools-dev_updateconfig + dh_autoreconf ./configure $(shell dpkg-buildflags --export=configure) \ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ @@ -40,7 +40,7 @@ [ ! -f Makefile ] || $(MAKE) distclean - dh_autotools-dev_restoreconfig + dh_autoreconf_clean dh_clean -a install: build