Package: libquantum
Version: 1.1.1-3
Severity: normal
Tags: patch
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. 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.
  * Disable autoheader to fix FTBFS during autoreconf.
  * Use system libtool to fix another error after autoreconf.

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-6-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 libquantum-1.1.1/debian/control libquantum-1.1.1/debian/control
--- libquantum-1.1.1/debian/control	2013-05-12 13:23:43.000000000 -0400
+++ libquantum-1.1.1/debian/control	2014-02-01 15:45:08.000000000 -0500
@@ -4,7 +4,7 @@
 Maintainer: Debian Science Team <[email protected]>
 Uploaders: Boris Pek <[email protected]>
 Standards-Version: 3.9.4
-Build-Depends: debhelper (>= 8), autotools-dev
+Build-Depends: debhelper (>= 8), autotools-dev, dh-autoreconf
 Homepage: http://www.libquantum.de/
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/libquantum.git
 Vcs-Browser: http://git.debian.org/?p=debian-science/packages/libquantum.git
diff -Nru libquantum-1.1.1/debian/patches/series libquantum-1.1.1/debian/patches/series
--- libquantum-1.1.1/debian/patches/series	2013-05-12 13:23:43.000000000 -0400
+++ libquantum-1.1.1/debian/patches/series	2014-01-31 12:49:44.000000000 -0500
@@ -1 +1,2 @@
 add-hardening-flags-to-compiler-options
+use-system-libtool
diff -Nru libquantum-1.1.1/debian/patches/use-system-libtool libquantum-1.1.1/debian/patches/use-system-libtool
--- libquantum-1.1.1/debian/patches/use-system-libtool	1969-12-31 19:00:00.000000000 -0500
+++ libquantum-1.1.1/debian/patches/use-system-libtool	2014-01-31 12:52:05.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -44,7 +44,7 @@
+ 
+ CC=@CC@
+ INSTALL=@INSTALL@
+-LIBTOOL=@LIBTOOL@
++LIBTOOL=libtool --tag=CC
+ 
+ # Flags passed to C compiler
+ 
diff -Nru libquantum-1.1.1/debian/rules libquantum-1.1.1/debian/rules
--- libquantum-1.1.1/debian/rules	2013-05-12 13:23:43.000000000 -0400
+++ libquantum-1.1.1/debian/rules	2014-01-31 12:46:46.000000000 -0500
@@ -8,8 +8,10 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+export AUTOHEADER = true
+
 %:
-	dh $@ --parallel
+	dh $@ --parallel --with autoreconf
 
 override_dh_auto_configure:
 	[ -f config.guess.orig ] || mv -f config.guess config.guess.orig
-- 
debian-science-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to