Package: gworldclock
Version: 1.4.4-9
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

Please use autotools-dev to update config.{sub,guess} for new architectures.
For example, we needed these updates in Ubuntu for the new arm64 and ppc64el
architectures.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use autotools-dev to update config.{sub,guess} for new arches.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-2-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u gworldclock-1.4.4/debian/control gworldclock-1.4.4/debian/control
--- gworldclock-1.4.4/debian/control
+++ gworldclock-1.4.4/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Drew Parsons <dpars...@debian.org>
-Build-Depends: debhelper (>> 5), libgtk2.0-dev, gettext, libxml2-dev, sharutils
+Build-Depends: debhelper (>> 5), libgtk2.0-dev, gettext, libxml2-dev, sharutils, autotools-dev
 Standards-Version: 3.9.1
 
 Package: gworldclock
diff -u gworldclock-1.4.4/debian/rules gworldclock-1.4.4/debian/rules
--- gworldclock-1.4.4/debian/rules
+++ gworldclock-1.4.4/debian/rules
@@ -7,6 +7,7 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 
 	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 	# Add here commands to compile the package.
@@ -24,6 +25,7 @@
 	[ ! -f Makefile ] || $(MAKE) clean
 	[ ! -f Makefile ] || $(MAKE) distclean
 
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply via email to