Package: xerces-c
Version: 3.1.1-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty

Hi,

The ppc64el port requires a patch to libtool.m4.  I don't think that's
in Debian yet, but when it is it will require autoreconfing a bunch of
packages to pick it up.  xerces-c could handle this quite easily by
using dh-autoreconf rather than just autotools-dev; when automake and
libtool are in use (as they are here), dh-autoreconf is a superset of
autotools-dev, and it seems to still build just fine if I do the
following.

  * Use dh-autoreconf to update libtool.m4 for new ports.

diff -Nru xerces-c-3.1.1/debian/control xerces-c-3.1.1/debian/control
--- xerces-c-3.1.1/debian/control       2012-06-30 03:10:41.000000000 +0100
+++ xerces-c-3.1.1/debian/control       2013-12-24 03:03:14.000000000 +0000
@@ -1,7 +1,7 @@
 Source: xerces-c
 Section: libs
 Priority: optional
-Build-Depends: cdbs (>= 0.4.106~), debhelper (>> 9), dpkg-dev (>= 1.16.1~), 
libicu-dev, cdbs, autotools-dev
+Build-Depends: cdbs (>= 0.4.106~), debhelper (>> 9), dpkg-dev (>= 1.16.1~), 
libicu-dev, cdbs, dh-autoreconf
 Maintainer: Jay Berkenbilt <q...@debian.org>
 Standards-Version: 3.9.3
 
diff -Nru xerces-c-3.1.1/debian/rules xerces-c-3.1.1/debian/rules
--- xerces-c-3.1.1/debian/rules 2012-06-30 03:10:50.000000000 +0100
+++ xerces-c-3.1.1/debian/rules 2013-12-24 03:02:54.000000000 +0000
@@ -15,6 +15,7 @@
 # Include cdbs rules files.
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 # This disables explicit passing of -msse2 to gcc.  It does not
 # actually disable sse2 extensions for platforms such as x86_64

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to