Package: dvi2ps
Version: 5.1j-1.1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu utopic 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 arm64 architecture.

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 utopic-updates
  APT policy: (500, 'utopic-updates'), (500, 'utopic-security'), (500, 
'utopic'), (100, 'utopic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-24-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 -Nru dvi2ps-5.1j/debian/control dvi2ps-5.1j/debian/control
--- dvi2ps-5.1j/debian/control	2012-04-30 05:49:23.000000000 -0400
+++ dvi2ps-5.1j/debian/control	2014-05-22 21:01:36.000000000 -0400
@@ -2,7 +2,7 @@
 Section: tex
 Priority: optional
 Maintainer: OHURA Makoto <[email protected]>
-Build-Depends: debhelper (>= 5.0.0), nkf, libkpathsea-dev, vflib3-dev, libfreetype6-dev
+Build-Depends: debhelper (>= 5.0.0), nkf, libkpathsea-dev, vflib3-dev, libfreetype6-dev, autotools-dev
 Standards-Version: 3.8.4
 
 Package: dvi2ps
diff -Nru dvi2ps-5.1j/debian/rules dvi2ps-5.1j/debian/rules
--- dvi2ps-5.1j/debian/rules	2012-04-30 07:20:54.000000000 -0400
+++ dvi2ps-5.1j/debian/rules	2014-05-21 00:15:36.000000000 -0400
@@ -26,6 +26,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	# Add here commands to configure the package.
 	./configure --prefix=/usr --with-dvi2pslib=/usr/lib/dvi2ps
 
@@ -56,6 +57,7 @@
 	[ ! -f Makefile ] || $(MAKE) clean
 	-(cd tools ; $(MAKE) -f ../debian/Makefile.tools clean)
 
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply via email to