Dear Maintainer,

The attached patch uses autotools-dev to fix the issue. To use dh-autoreconf it seems an update of configuration files is needed upstream.

In Ubuntu, a similiar patch was applied to achieve the following:

   * Use autotools-dev helper for newer arches to resolve FTBFS.

Thanks for considering the patch.

Erwan Prioul.


diff -Naur a/debian/control b/debian/control
--- a/debian/control	2014-12-09 11:31:47.138551557 +0100
+++ b/debian/control	2014-12-09 11:54:25.966566172 +0100
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Christian Bayle <[email protected]>
-Build-Depends: debhelper (>> 3.0), libx11-dev, x11proto-core-dev
+Build-Depends: debhelper (>> 3.0), libx11-dev, x11proto-core-dev, libtool, autoconf, autotools-dev
 Standards-Version: 3.6.2.0
 
 Package: libibtk-dev
diff -Naur a/debian/rules b/debian/rules
--- a/debian/rules	2014-12-09 11:31:47.138551557 +0100
+++ b/debian/rules	2014-12-09 11:55:48.934567064 +0100
@@ -5,6 +5,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export AUTOMAKE=true
+
 CFLAGS = -O2 -Wall
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -g
@@ -22,6 +24,9 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
+	libtoolize -f -c -i
+	autoconf -f 
 	# Add here commands to configure the package.
 	./configure --enable-shared --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc
 
@@ -46,6 +51,7 @@
 	-$(MAKE) clean
 	-rm -f config.log
 
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply via email to