Package: src:presage
Version: 0.8.9-1
Severity: normal
Tags: patch

Dear Maintainer,

While trying to build presage on ppc64el, it failed, due to libtool and configuration files not being updated and also because automake -Werror is enabled. Dimitri John Ledkov <x...@ubuntu.com> has written a patch that disables automake -Werror.

Please consider the attached patch, which uses dh-autoreconf and includes the patch from Dimitri.

Thanks in advance,
Erwan.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (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 -Naur a/debian/control b/debian/control
--- a/debian/control	2014-07-30 16:47:22.833808672 +0200
+++ b/debian/control	2014-07-30 16:54:36.529785622 +0200
@@ -4,6 +4,8 @@
 Maintainer: Matteo Vescovi <matteo.vesc...@yahoo.co.uk>
 Build-Depends: debhelper (>= 7.0.50~),
  autotools-dev,
+ dh-autoreconf,
+ pkg-config,
  libsqlite3-dev,
  sqlite3,
  libtinyxml-dev (>= 2.5.3),
diff -Naur a/debian/patches/no-automake-werror.patch b/debian/patches/no-automake-werror.patch
--- a/debian/patches/no-automake-werror.patch	1970-01-01 01:00:00.000000000 +0100
+++ b/debian/patches/no-automake-werror.patch	2014-07-30 17:15:47.813718054 +0200
@@ -0,0 +1,14 @@
+Description: Disable automake -Werror.
+Author: Dimitri John Ledkov <x...@ubuntu.com>
+
+--- presage-0.8.8.orig/configure.ac
++++ presage-0.8.8/configure.ac
+@@ -23,7 +23,7 @@ dnl Process this file with autoconf to p
+ 
+ 
+ AC_INIT([presage],[0.8.9],[matteo.vesc...@yahoo.co.uk])
+-AM_INIT_AUTOMAKE([-Wall -Werror])
++AM_INIT_AUTOMAKE([-Wall])
+ 
+ AC_CONFIG_SRCDIR([src/lib/presage.cpp])
+ AC_CONFIG_HEADERS([config.h:config.hin])
diff -Naur a/debian/patches/series b/debian/patches/series
--- a/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ b/debian/patches/series	2014-07-30 17:18:52.605708233 +0200
@@ -0,0 +1 @@
+no-automake-werror.patch
diff -Naur a/debian/rules b/debian/rules
--- a/debian/rules	2014-07-30 16:47:22.853808671 +0200
+++ b/debian/rules	2014-07-30 16:50:49.369797695 +0200
@@ -5,7 +5,7 @@
 PYVERS=$(shell pyversions -vs)
 
 %:
-	dh $@ --with autotools_dev --with python2
+	dh $@ --with autoreconf --with python2
 
 
 # Enable build hardening

Reply via email to