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.000000000 +0100
+++ libsndfile-1.0.25/debian/changelog	2013-12-17 00:35:14.000000000 +0000
@@ -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 +0000
+
 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.000000000 +0100
+++ libsndfile-1.0.25/debian/control	2013-12-17 00:32:24.000000000 +0000
@@ -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.000000000 +0100
+++ libsndfile-1.0.25/debian/rules	2013-12-17 00:34:03.000000000 +0000
@@ -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

Reply via email to