Package: libgsecuredelete
Version: 0.2-1
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. 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 -Werror to fix FTBFS while autoreconfing.

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-2-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 libgsecuredelete-0.2/debian/control libgsecuredelete-0.2/debian/control
--- libgsecuredelete-0.2/debian/control	2012-06-19 18:10:00.000000000 -0400
+++ libgsecuredelete-0.2/debian/control	2014-01-14 19:25:07.000000000 -0500
@@ -6,7 +6,8 @@
 Build-Depends:
  debhelper (>= 8.0.0),
  dpkg-dev (>= 1.16.1.1~),
- libglib2.0-dev
+ libglib2.0-dev,
+ dh-autoreconf
 Homepage: http://wipetools.tuxfamily.org/libgsecuredelete.html
 Vcs-Git: git://git.debian.org/collab-maint/libgsecuredelete.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libgsecuredelete.git
diff -Nru libgsecuredelete-0.2/debian/patches/disable-Werror.patch libgsecuredelete-0.2/debian/patches/disable-Werror.patch
--- libgsecuredelete-0.2/debian/patches/disable-Werror.patch	1969-12-31 19:00:00.000000000 -0500
+++ libgsecuredelete-0.2/debian/patches/disable-Werror.patch	2014-01-13 03:12:31.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -6,7 +6,7 @@
+ AC_CONFIG_SRCDIR([gsecuredelete/gsd-delete-operation.vala])
+ AC_CONFIG_AUX_DIR([build/aux])
+ AC_CONFIG_MACRO_DIR([build/m4])
+-AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror foreign])
++AM_INIT_AUTOMAKE([1.11.1 -Wall foreign])
+ AC_CONFIG_HEADERS([config.h])
+ 
+ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
diff -Nru libgsecuredelete-0.2/debian/patches/series libgsecuredelete-0.2/debian/patches/series
--- libgsecuredelete-0.2/debian/patches/series	1969-12-31 19:00:00.000000000 -0500
+++ libgsecuredelete-0.2/debian/patches/series	2014-01-13 03:12:15.000000000 -0500
@@ -0,0 +1 @@
+disable-Werror.patch
diff -Nru libgsecuredelete-0.2/debian/rules libgsecuredelete-0.2/debian/rules
--- libgsecuredelete-0.2/debian/rules	2012-06-19 18:10:00.000000000 -0400
+++ libgsecuredelete-0.2/debian/rules	2014-01-13 03:05:20.000000000 -0500
@@ -11,4 +11,4 @@
 	dh_auto_install -- pkglibexecdir=/usr/lib/libgsecuredelete0/libexec
 
 %:
-	dh $@
+	dh $@ --with autoreconf

Reply via email to