Package: libosip2
Version: 4.0.0-3
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 fix FTBFS on ppc64el.

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-3-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 libosip2-4.0.0/debian/control libosip2-4.0.0/debian/control
--- libosip2-4.0.0/debian/control	2013-10-16 06:40:28.000000000 -0400
+++ libosip2-4.0.0/debian/control	2014-01-17 00:18:56.000000000 -0500
@@ -1,10 +1,9 @@
 Source: libosip2
 Section: comm
 Priority: optional
-Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
-XSBC-Original-Maintainer: Debian VoIP Team <pkg-voip-maintain...@lists.alioth.debian.org>
+Maintainer: Debian VoIP Team <pkg-voip-maintain...@lists.alioth.debian.org>
 Uploaders: Mark Purcell <m...@debian.org>, Kilian Krause <kil...@debian.org>
-Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.13.19), autotools-dev, docbook-to-man
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.13.19), dh-autoreconf, docbook-to-man
 Standards-Version: 3.9.4
 Homepage: http://www.gnu.org/software/osip/
 Vcs-Svn: svn://anonscm.debian.org/pkg-voip/libosip2/trunk/
diff -Nru libosip2-4.0.0/debian/rules libosip2-4.0.0/debian/rules
--- libosip2-4.0.0/debian/rules	2013-10-16 06:40:28.000000000 -0400
+++ libosip2-4.0.0/debian/rules	2014-01-15 21:26:52.000000000 -0500
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 %:
-	dh $@ --parallel --with autotools_dev
+	dh $@ --parallel --with autoreconf
 
 export EXTRA_LIB=-lpthread
 
@@ -13,5 +13,8 @@
 	# if the path of the libs that appear there changes
 	sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
 
+override_dh_autoreconf:
+	dh_autoreconf ./autogen.sh
+
 get-orig-source:
 	uscan --force-download

Reply via email to