Package: xchat-guile
Version: 0.3-3
Followup-For: Bug #744546
User: [email protected]
Usertags: origin-ubuntu  ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

 * debian/{control,rules}: Use autoreconf helper for newer arches to
   correctly build shared library and to resolve FTBFS.

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-24-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 -u xchat-guile-0.3/debian/rules xchat-guile-0.3/debian/rules
--- xchat-guile-0.3/debian/rules
+++ xchat-guile-0.3/debian/rules
@@ -28,6 +28,7 @@
 
 config.status: configure
 	dh_testdir
+	dh_autoreconf
 	LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" ./configure $(confflags) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
 
@@ -46,14 +47,8 @@
 	rm -f build-stamp
 
 	[ ! -f Makefile ] || $(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-
 
+	dh_autoreconf_clean
 	dh_clean
 
 install: build
diff -u xchat-guile-0.3/debian/control xchat-guile-0.3/debian/control
--- xchat-guile-0.3/debian/control
+++ xchat-guile-0.3/debian/control
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Lionel Elie Mamane <[email protected]>
-Build-Depends: debhelper (>= 5), guile-2.0-dev, libglib2.0-dev (>= 2.4), hardening-includes
+Build-Depends: debhelper (>= 5), guile-2.0-dev, libglib2.0-dev (>= 2.4), hardening-includes, dh-autoreconf
 Standards-Version: 3.9.2
 Homepage: http://static.fi/~zeenix/xchat-guile/
 

Reply via email to