Package: libmthca Version: 1.0.6-1 Followup-For: Bug #727417 User: ubuntu-de...@lists.ubuntu.com 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: wheezy/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 libmthca-1.0.6/debian/control libmthca-1.0.6/debian/control --- libmthca-1.0.6/debian/control 2011-07-06 16:13:54.000000000 -0400 +++ libmthca-1.0.6/debian/control 2014-01-04 18:53:47.000000000 -0500 @@ -2,7 +2,7 @@ Priority: extra Maintainer: Roland Dreier <rol...@digitalvampire.org> DM-Upload-Allowed: yes -Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.13.19), libibverbs-dev (>= 1.1) +Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.13.19), libibverbs-dev (>= 1.1), dh-autoreconf Standards-Version: 3.9.2 Section: libs Homepage: http://www.openfabrics.org/ diff -Nru libmthca-1.0.6/debian/patches/automake-foreign.patch libmthca-1.0.6/debian/patches/automake-foreign.patch --- libmthca-1.0.6/debian/patches/automake-foreign.patch 1969-12-31 19:00:00.000000000 -0500 +++ libmthca-1.0.6/debian/patches/automake-foreign.patch 2014-01-03 03:23:46.000000000 -0500 @@ -0,0 +1,11 @@ +--- a/configure.in ++++ b/configure.in +@@ -5,7 +5,7 @@ + AC_CONFIG_SRCDIR([src/mthca.h]) + AC_CONFIG_AUX_DIR(config) + AC_CONFIG_HEADER(config.h) +-AM_INIT_AUTOMAKE(libmthca, 1.0.6) ++AM_INIT_AUTOMAKE([foreign]) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + + AC_PROG_LIBTOOL diff -Nru libmthca-1.0.6/debian/patches/series libmthca-1.0.6/debian/patches/series --- libmthca-1.0.6/debian/patches/series 2011-07-06 16:13:54.000000000 -0400 +++ libmthca-1.0.6/debian/patches/series 2014-01-03 03:20:24.000000000 -0500 @@ -1 +1,2 @@ driver-plugin-directory.patch +automake-foreign.patch diff -Nru libmthca-1.0.6/debian/rules libmthca-1.0.6/debian/rules --- libmthca-1.0.6/debian/rules 2011-07-06 16:13:54.000000000 -0400 +++ libmthca-1.0.6/debian/rules 2014-01-03 03:20:10.000000000 -0500 @@ -2,7 +2,7 @@ # -*- mode: makefile; coding: utf-8 -*- %: - dh $@ + dh $@ --with autoreconf override_dh_strip: dh_strip --dbg-package=libmthca1-dbg