Bug#732346: libsndfile: Update config.{sub,guess} for new architectures

2013-12-18 Thread Erik de Castro Lopo
Thanks Wookey,

I uploaded a new package two days ago, but the upload queue seems to
be busted. I'm hoping the new package will just magically appear
when the queue gets fixed.

Cheers.
Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#732346: libsndfile: Update config.{sub,guess} for new architectures

2013-12-16 Thread Wookey
Source: libsndfile
Version: 1.0.25-7
Severity: normal
Tags: patch
User: debian-...@lists.debian.org
Usertag: arm64

This package does not build for new architectures, such as arm64 because
the config.sub/guess shipped with the source are too old.

The attached patch unsures the updated system version is used during the
build which fixes this common issue for future instances as well as the
current one.

arm64 will be entering debian-ports very soon, so an upload with this fix
or an equivalent one would be appreciated.

-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-kvm-i386-20110111 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Nru libsndfile-1.0.25/debian/changelog libsndfile-1.0.25/debian/changelog
--- libsndfile-1.0.25/debian/changelog	2013-07-14 10:57:47.0 +0100
+++ libsndfile-1.0.25/debian/changelog	2013-12-17 00:35:14.0 +
@@ -1,3 +1,9 @@
+libsndfile (1.0.25-7.arm64) UNRELEASED; urgency=low
+
+  * Ensure config.sub/guess are up to date
+
+ -- Wookey woo...@debian.org  Tue, 17 Dec 2013 00:34:15 +
+
 libsndfile (1.0.25-7) unstable; urgency=low
 
   * debian/control debian/rules
diff -Nru libsndfile-1.0.25/debian/control libsndfile-1.0.25/debian/control
--- libsndfile-1.0.25/debian/control	2013-07-14 10:57:47.0 +0100
+++ libsndfile-1.0.25/debian/control	2013-12-17 00:32:24.0 +
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Erik de Castro Lopo er...@mega-nerd.com
-Build-Depends: debhelper (= 8.1.3), pkg-config,
+Build-Depends: debhelper (= 8.1.3), pkg-config, autotools-dev,
  libvorbis-dev (= 1.2.3), libflac-dev (= 1.1.4-3),
  libasound2-dev [linux-any]
 Standards-Version: 3.9.3
diff -Nru libsndfile-1.0.25/debian/rules libsndfile-1.0.25/debian/rules
--- libsndfile-1.0.25/debian/rules	2013-07-14 10:57:47.0 +0100
+++ libsndfile-1.0.25/debian/rules	2013-12-17 00:34:03.0 +
@@ -25,6 +25,7 @@
 config.status: configure
 	dh_testdir
 	#autoreconf -f
+	dh_autotools-dev_updateconfig
 	./configure $(shell dpkg-buildflags --export=configure) \
 		--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
 		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
@@ -51,6 +52,7 @@
 
 	[ ! -f Makefile ] || $(MAKE) distclean
 
+	dh_autotools-dev_restoreconfig
 	dh_clean -a
 
 install: build