Package: rat
Version: 4.2.22-2.2
Severity: normal
Tags: patch
User: [email protected]
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-14-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 rat-4.2.22/debian/control rat-4.2.22/debian/control
--- rat-4.2.22/debian/control
+++ rat-4.2.22/debian/control
@@ -1,5 +1,5 @@
 Source: rat
-Build-Depends: tk-dev, libuclmmbase1-dev (>= 1.2.11-2), debhelper (>> 3.0.0), patch, libsm-dev, libice-dev, libx11-dev, libxext-dev
+Build-Depends: tk-dev, libuclmmbase1-dev (>= 1.2.11-2), debhelper (>> 3.0.0), patch, libsm-dev, libice-dev, libx11-dev, libxext-dev, autotools-dev
 Section: net
 Priority: extra
 Maintainer: David Martínez Moreno <[email protected]>
diff -u rat-4.2.22/debian/rules rat-4.2.22/debian/rules
--- rat-4.2.22/debian/rules
+++ rat-4.2.22/debian/rules
@@ -26,6 +26,7 @@
 
 config-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	./configure --enable-ipv6 \
 		    --with-tcl=/usr/include/tcl \
 		    --with-tk=/usr/include/tcl \
@@ -48,6 +49,7 @@
 	dh_testroot
 	rm -f build-stamp config-stamp patch-stamp
 	-$(MAKE) distclean
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 patch: patch-stamp

Reply via email to