Source: check
Version: 0.9.10-6
Severity: normal
Tags: patch
User: [email protected]
Usertag: arm64

This patch ensures that config.sub and config.guess are updated from the
system copies before building. This fixes the general issue of 'package
FTBFS on new architecture'.

-- 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 check-0.9.10/debian/changelog check-0.9.10/debian/changelog
--- check-0.9.10/debian/changelog	2013-11-25 20:11:08.000000000 +0000
+++ check-0.9.10/debian/changelog	2013-12-24 01:03:32.000000000 +0000
@@ -1,3 +1,9 @@
+check (0.9.10-6.arm64) unstable; urgency=low
+
+  * Ensure config.{sub,guess} are up to date using autotools-dev
+
+ --  <[email protected]>  Tue, 24 Dec 2013 00:29:57 +0000
+
 check (0.9.10-6) unstable; urgency=low
 
   * add -pthread to both --libs and --cflags of check.pc (sigh)
diff -Nru check-0.9.10/debian/control check-0.9.10/debian/control
--- check-0.9.10/debian/control	2013-11-25 19:41:59.000000000 +0000
+++ check-0.9.10/debian/control	2013-12-24 01:03:32.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Robert Lemmen <[email protected]>
 Uploaders: Thomas Bechtold <[email protected]>
-Build-Depends: debhelper (>= 8.0), mawk, texinfo
+Build-Depends: debhelper (>= 8.0), autotools-dev, mawk, texinfo
 Build-Conflicts: gawk
 Standards-Version: 3.9.4
 Homepage: http://check.sourceforge.net/
diff -Nru check-0.9.10/debian/rules check-0.9.10/debian/rules
--- check-0.9.10/debian/rules	2013-11-25 19:41:59.000000000 +0000
+++ check-0.9.10/debian/rules	2013-12-24 01:03:32.000000000 +0000
@@ -16,6 +16,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	 CFLAGS="$(CFLAGS_OPT)" ./configure --prefix=/usr \
 		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
 		--infodir=/usr/share/info --enable-plain-docdir
@@ -24,6 +25,7 @@
 configure-pic: configure-stamp-pic
 configure-stamp-pic:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	CFLAGS="-fPIC $(CFLAGS_OPT)" ./configure --prefix=/usr \
 		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
 		--infodir=/usr/share/info \
@@ -55,6 +57,7 @@
 	rm -f build-stamp configure-stamp build-stamp-pic configure-stamp-pic
 	[ ! -f Makefile ] || $(MAKE) distclean
 	rm -f src/libcheck_pic.a
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply via email to