Package: libofa Version: 0.9.3-5 Severity: normal Tags: patch 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 instead of autotools-dev to also fix FTBFS on ppc64el by getting new libtool macros (still updates config.{sub,guess}). * Use LTDL_INIT([convenience]) instead of AC_LIBLTDL_CONVENIENCE to fix FTBFS while autoreconfing, and build-depend on libltdl-dev. 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 libofa-0.9.3/debian/control libofa-0.9.3/debian/control --- libofa-0.9.3/debian/control 2011-10-03 14:52:23.000000000 -0400 +++ libofa-0.9.3/debian/control 2014-01-04 19:20:08.000000000 -0500 @@ -1,7 +1,7 @@ Source: libofa Priority: optional Maintainer: Debian QA Group <packa...@qa.debian.org> -Build-Depends: debhelper (>= 8), cdbs, libfftw3-dev, libcurl4-openssl-dev, libexpat1-dev, autotools-dev +Build-Depends: debhelper (>= 8), cdbs, libfftw3-dev, libcurl4-openssl-dev, libexpat1-dev, dh-autoreconf, libltdl-dev Standards-Version: 3.9.2 Section: libs Homepage: http://code.google.com/p/musicip-libofa/ diff -Nru libofa-0.9.3/debian/patches/07_libltdl.diff libofa-0.9.3/debian/patches/07_libltdl.diff --- libofa-0.9.3/debian/patches/07_libltdl.diff 1969-12-31 19:00:00.000000000 -0500 +++ libofa-0.9.3/debian/patches/07_libltdl.diff 2014-01-04 16:50:09.000000000 -0500 @@ -0,0 +1,17 @@ +Description: use new macro for initializing libltdl + Use LTDL_INIT([convenience]) instead of AC_LIBLTDL_CONVENIENCE to fix FTBFS + while autoreconfing. +Author: Logan Rosen <lo...@ubuntu.com> +Last-Update: <2014-01-04> + +--- libofa-0.9.3.orig/configure.in ++++ libofa-0.9.3/configure.in +@@ -28,7 +28,7 @@ dnl Checks for programs. + AC_PREREQ(2.52) + AC_PROG_AWK + AC_PROG_CC +-AC_LIBLTDL_CONVENIENCE ++LTDL_INIT([convenience]) + AM_PROG_LIBTOOL + AC_SUBST(LIBTOOL_DEPS) + AC_PROG_CXX diff -Nru libofa-0.9.3/debian/patches/series libofa-0.9.3/debian/patches/series --- libofa-0.9.3/debian/patches/series 2012-04-17 02:01:39.000000000 -0400 +++ libofa-0.9.3/debian/patches/series 2014-01-04 16:51:02.000000000 -0500 @@ -6,3 +6,4 @@ 06_gcc44.diff fix_ftbfs.diff fix-ftbfs-gcc4.7.diff +07_libltdl.diff diff -Nru libofa-0.9.3/debian/rules libofa-0.9.3/debian/rules --- libofa-0.9.3/debian/rules 2011-10-03 14:44:57.000000000 -0400 +++ libofa-0.9.3/debian/rules 2014-01-04 16:39:31.000000000 -0500 @@ -3,5 +3,6 @@ include /usr/share/cdbs/1/rules/buildcore.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/autoreconf.mk DEB_DH_MAKESHLIBS_ARGS = -V