Package: libusbtc08
Version: 1.7.2-1
Followup-For: Bug #727444
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer,
For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary instead of just config.{sub,guess} updates with
autotools-dev. This is because we need new libtool macros for ppc64el.
In Ubuntu, the attached patch was applied to achieve the following:
* Use dh-autoreconf to get new libtool macros for ppc64el and update
config.{sub,guess} for new arches.
* Use automake's "foreign" option to fix FTBFS while autoreconfing.
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.12.0-7-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 libusbtc08-1.7.2/debian/control libusbtc08-1.7.2/debian/control
--- libusbtc08-1.7.2/debian/control 2011-08-26 14:15:38.000000000 -0400
+++ libusbtc08-1.7.2/debian/control 2014-01-08 02:18:01.000000000 -0500
@@ -1,7 +1,7 @@
Source: libusbtc08
Priority: extra
Maintainer: Maximiliano Curia <[email protected]>
-Build-Depends: debhelper (>= 7.0.50~), autotools-dev
+Build-Depends: debhelper (>= 7.0.50~), dh-autoreconf
Standards-Version: 3.9.2
Section: libs
Homepage: http://www.picotech.com/
diff -Nru libusbtc08-1.7.2/debian/patches/automake_foreign libusbtc08-1.7.2/debian/patches/automake_foreign
--- libusbtc08-1.7.2/debian/patches/automake_foreign 1969-12-31 19:00:00.000000000 -0500
+++ libusbtc08-1.7.2/debian/patches/automake_foreign 2014-01-04 22:52:38.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -6,7 +6,7 @@
+ AC_REVISION($Id: configure.ac,v 1.3 2007/07/31 20:27:13 douglas Exp $)
+ AC_CONFIG_SRCDIR(src/common/TC08Device.h)
+ AC_CONFIG_HEADERS(config.h)
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+
+ # Checks for programs
+ AC_PROG_CXX
diff -Nru libusbtc08-1.7.2/debian/patches/series libusbtc08-1.7.2/debian/patches/series
--- libusbtc08-1.7.2/debian/patches/series 2011-08-25 14:16:32.000000000 -0400
+++ libusbtc08-1.7.2/debian/patches/series 2014-01-04 22:52:00.000000000 -0500
@@ -1 +1,2 @@
missing_headers
+automake_foreign
diff -Nru libusbtc08-1.7.2/debian/rules libusbtc08-1.7.2/debian/rules
--- libusbtc08-1.7.2/debian/rules 2011-08-26 17:59:45.000000000 -0400
+++ libusbtc08-1.7.2/debian/rules 2014-01-04 22:49:29.000000000 -0500
@@ -5,7 +5,7 @@
#export DH_VERBOSE=1
%:
- dh $@
+ dh $@ --with autoreconf
override_dh_fixperms:
dh_fixperms