Package: lirc
Version: 0.9.0~pre1
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf

Hi,

Lirc is curretnly failing to build on new architectures, as ppc64el.
In order to enable this package to be built on new architectures, autoreconf
needs to be called before the package build. In order to do it, I am providing
a patch that follows the instructions at
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

Thank you,
Breno Leitao

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

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: lirc-0.9.0~pre1/debian/rules
===================================================================
--- lirc-0.9.0~pre1.orig/debian/rules	2011-02-15 16:36:39.000000000 +0000
+++ lirc-0.9.0~pre1/debian/rules	2014-04-30 18:16:27.000000000 +0000
@@ -32,6 +32,7 @@
 clean:
 	dh_testdir
 	dh_testroot
+	dh_autoreconf_clean
 	rm -f configure-stamp build-stamp
 	[ ! -f Makefile ] || $(MAKE) distclean
 	@if [ ! "$(UVERS)" = "$(shell sed -n 's/^Version: \(.*\)/\1/p' debian/liblircclient0.pc)" ]; then \
@@ -45,6 +46,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	dh_autoreconf
 	-test -r config.sub && test -r /usr/share/misc/config.sub && \
 		cp -f /usr/share/misc/config.sub config.sub
 	-test -r config.guess && test -r /usr/share/misc/config.guess && \
--- lirc-0.9.0~pre1/debian/control.old	2014-04-30 18:27:48.000000000 +0000
+++ lirc-0.9.0~pre1/debian/control	2014-04-30 18:28:00.000000000 +0000
@@ -12,6 +12,7 @@ Build-Depends: debhelper (>= 7.9.3),
  libx11-dev,
  libirman-dev,
  autotools-dev,
+ dh-autoreconf,
  devscripts,
  libxt-dev,
  python

Reply via email to