Here is an alternative patch using dh_autotools commands. Perhaps a bit
cleaner and also rebuild-safe.

Note that this causes a whinge that the package is using the deprecated
dh compat level 4. Bumping it up to 5 works fine, but I've not
included it in the patch. An update probably is due... :-)

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
diff -u libsigc++-1.0.4/debian/changelog libsigc++-1.0.4/debian/changelog
--- libsigc++-1.0.4/debian/changelog
+++ libsigc++-1.0.4/debian/changelog
@@ -1,3 +1,9 @@
+libsigc++ (1.0.4-9.4config1) unstable; urgency=low
+
+  * Ensure config.{sub,guess} are up to date
+
+ --  <woo...@debian.org>  Sun, 05 Jan 2014 00:43:13 +0000
+
 libsigc++ (1.0.4-9.4) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u libsigc++-1.0.4/debian/control libsigc++-1.0.4/debian/control
--- libsigc++-1.0.4/debian/control
+++ libsigc++-1.0.4/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Daniel Burrows <dburr...@debian.org>
 Standards-Version: 3.6.2.0
-Build-Depends: debhelper (>=4.0.0), g++ (>=3:3.2.2-0)
+Build-Depends: debhelper (>=4.0.0), autotools-dev, g++ (>=3:3.2.2-0)
 
 Package: libsigc++0c2
 Section: libs
diff -u libsigc++-1.0.4/debian/rules libsigc++-1.0.4/debian/rules
--- libsigc++-1.0.4/debian/rules
+++ libsigc++-1.0.4/debian/rules
@@ -42,11 +42,13 @@
 	if [ -d builddir ]; then rm -rf builddir; fi
 	-for x in debian/*.patch; do patch --dry-run -fRp1 < $$x > /dev/null&&\
 	  patch -fRp1 < $$x ; done
+	dh_autotools-dev_restoreconfig
 	dh_clean build-stamp config-stamp install-stamp debian/shlibs.local
 
 config: config-stamp
 config-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	for x in debian/*.patch; do patch --dry-run -fp1 < $$x > /dev/null && \
 	  patch -fp1 < $$x; done
 	test -d builddir || mkdir builddir

Reply via email to