Package: libtelnet
Version: 0.21-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: 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 libtelnet-0.21/debian/control libtelnet-0.21/debian/control
--- libtelnet-0.21/debian/control	2013-10-28 11:34:52.000000000 -0400
+++ libtelnet-0.21/debian/control	2014-01-04 18:57:20.000000000 -0500
@@ -7,7 +7,7 @@
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libtelnet.git;a=summary
 Homepage: http://github.com/elanthis/libtelnet
 Build-Depends: debhelper (>=7.0.50~), zlib1g-dev, dpkg-dev (>= 1.16.1~), pkg-config,
-               autotools-dev
+               dh-autoreconf
 
 Package: libtelnet2
 Architecture: any
diff -Nru libtelnet-0.21/debian/patches/0003-disable-Werror.patch libtelnet-0.21/debian/patches/0003-disable-Werror.patch
--- libtelnet-0.21/debian/patches/0003-disable-Werror.patch	1969-12-31 19:00:00.000000000 -0500
+++ libtelnet-0.21/debian/patches/0003-disable-Werror.patch	2014-01-03 03:50:15.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,7 +7,7 @@
+ AC_CONFIG_HEADERS([config.h])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_SRCDIR([libtelnet.c])
+-AM_INIT_AUTOMAKE([1.9 foreign -Wall -Werror subdir-objects])
++AM_INIT_AUTOMAKE([1.9 foreign -Wall subdir-objects])
+ #LT_INIT([win32-dll])
+ AC_LIBTOOL_WIN32_DLL
+ 
diff -Nru libtelnet-0.21/debian/patches/series libtelnet-0.21/debian/patches/series
--- libtelnet-0.21/debian/patches/series	2012-06-11 03:46:01.000000000 -0400
+++ libtelnet-0.21/debian/patches/series	2014-01-03 03:49:59.000000000 -0500
@@ -1,2 +1,3 @@
 0001-include-config.h.patch
 0002-fix-version-number.patch
+0003-disable-Werror.patch
diff -Nru libtelnet-0.21/debian/rules libtelnet-0.21/debian/rules
--- libtelnet-0.21/debian/rules	2013-10-28 11:33:55.000000000 -0400
+++ libtelnet-0.21/debian/rules	2014-01-03 03:49:36.000000000 -0500
@@ -6,7 +6,7 @@
 include /usr/share/dpkg/buildflags.mk
 
 %:
-	dh --with autotools_dev $@
+	dh --with autoreconf $@
 
 override_dh_auto_configure:
 	dh_auto_configure -- LDFLAGS="$(LDFLAGS) -Wl,--as-needed"

Reply via email to