Package: libpuzzle
Version: 0.9-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:

  * Add -lm to puzzle_diff_LDADD to fix FTBFS due to underlinking.
  * Use dh-autoreconf instead of autotools-dev to both get new libtool macros
    for ppc64el and apply the above change.

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.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 libpuzzle-0.9/debian/control libpuzzle-0.9/debian/control
--- libpuzzle-0.9/debian/control	2012-05-09 15:34:25.000000000 -0400
+++ libpuzzle-0.9/debian/control	2014-01-08 02:16:06.000000000 -0500
@@ -5,7 +5,7 @@
 Uploaders: Emmanuel Bouthenot <kol...@debian.org>
 Build-Depends:
     debhelper (>= 9),
-    autotools-dev,
+    dh-autoreconf,
     chrpath,
     php5-dev,
     libgd2-noxpm-dev
diff -Nru libpuzzle-0.9/debian/patches/02_link_against_libm libpuzzle-0.9/debian/patches/02_link_against_libm
--- libpuzzle-0.9/debian/patches/02_link_against_libm	1969-12-31 19:00:00.000000000 -0500
+++ libpuzzle-0.9/debian/patches/02_link_against_libm	2014-01-04 23:12:41.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -32,7 +32,7 @@
+ 	puzzle.h
+ 
+ puzzle_diff_LDADD = \
+-	libpuzzle.la
++	libpuzzle.la -lm
+ 
+ TESTS = \
+ 	regress_1 \
diff -Nru libpuzzle-0.9/debian/patches/series libpuzzle-0.9/debian/patches/series
--- libpuzzle-0.9/debian/patches/series	2012-05-09 07:51:40.000000000 -0400
+++ libpuzzle-0.9/debian/patches/series	2014-01-04 23:12:18.000000000 -0500
@@ -1 +1,2 @@
 01_no_php_subdir
+02_link_against_libm
diff -Nru libpuzzle-0.9/debian/rules libpuzzle-0.9/debian/rules
--- libpuzzle-0.9/debian/rules	2012-05-08 05:32:08.000000000 -0400
+++ libpuzzle-0.9/debian/rules	2014-01-04 23:17:29.000000000 -0500
@@ -63,4 +63,4 @@
 	rm -f debian/puzzle-diff.1 debian/libpuzzle.3 debian/puzzle_set.3
 
 %:
-	dh $@ --with autotools_dev
+	dh $@ --with autoreconf
_______________________________________________
Pkg-phototools-devel mailing list
Pkg-phototools-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-phototools-devel

Reply via email to