Source: dancer-xml
Followup-For: Bug #528407

Hello.

Not sure if this package is still actively maintained, but since it
still fails on ppc64el et al, here is a debdiff adding usage of 
dh-autoreconf.

It is similiar to the one above, but uses autoreconf for a more
complete autotools files update during build, and its usage is
approached here https://wiki.debian.org/Autoreconf.

Regards.

Fernando
diff -u dancer-xml-0.8.2.1/debian/changelog dancer-xml-0.8.2.1/debian/changelog
--- dancer-xml-0.8.2.1/debian/changelog
+++ dancer-xml-0.8.2.1/debian/changelog
@@ -1,3 +1,13 @@
+dancer-xml (0.8.2.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules: Adding dh_autoreconf to update autotools files.
+  * debian/control: dh-autoreconf to build-dep.
+  * debian/patches/autoreconf.patch: added AM_INIT_AUTOMAKE([foreign])
+    to configure.ac in order to create missing files.
+
+ -- Fernando Seiti Furusato <ferse...@br.ibm.com>  Wed, 08 Jun 2016 16:31:50 -0400
+
 dancer-xml (0.8.2.1-3) unstable; urgency=low
 
   * Bug fix: "dxml-db2latex doesn't start, missing dependency on
diff -u dancer-xml-0.8.2.1/debian/control dancer-xml-0.8.2.1/debian/control
--- dancer-xml-0.8.2.1/debian/control
+++ dancer-xml-0.8.2.1/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Junichi Uekawa <dan...@debian.org>
-Build-Depends: debhelper (>> 4.0.0), libtool, d-shlibs (>= 0.4), doxygen
+Build-Depends: debhelper (>> 4.0.0), libtool, d-shlibs (>= 0.4), doxygen, dh-autoreconf
 Standards-Version: 3.6.2
 
 Package: libdancer-xml0
diff -u dancer-xml-0.8.2.1/debian/rules dancer-xml-0.8.2.1/debian/rules
--- dancer-xml-0.8.2.1/debian/rules
+++ dancer-xml-0.8.2.1/debian/rules
@@ -14,6 +14,7 @@
 configure-stamp:
 	dh_testdir
 	# Add here commands to configure the package.
+	dh_autoreconf
 	./configure -prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc
 	touch configure-stamp
 
@@ -31,6 +32,7 @@
 	rm -f build-stamp configure-stamp
 	rm -rf $(PACKAGETMP)
 	-$(MAKE) distclean
+	dh_autoreconf_clean
 	dh_clean
 
 install: build
--- dancer-xml-0.8.2.1.orig/configure.ac
+++ dancer-xml-0.8.2.1/configure.ac
@@ -2,6 +2,7 @@
 m4_define(DXMLVERSION,0.8.2.1)
 AC_INIT(dancer-xml,DXMLVERSION)
 AM_INIT_AUTOMAKE(dancer-xml,DXMLVERSION)
+AM_INIT_AUTOMAKE([foreign])
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 
--- dancer-xml-0.8.2.1.orig/patches/autoreconf.patch
+++ dancer-xml-0.8.2.1/patches/autoreconf.patch
@@ -0,0 +1,12 @@
+Index: dancer-xml-0.8.2.1/configure.ac
+===================================================================
+--- dancer-xml-0.8.2.1.orig/configure.ac
++++ dancer-xml-0.8.2.1/configure.ac
+@@ -2,6 +2,7 @@ dnl Process this file with autoconf to p
+ m4_define(DXMLVERSION,0.8.2.1)
+ AC_INIT(dancer-xml,DXMLVERSION)
+ AM_INIT_AUTOMAKE(dancer-xml,DXMLVERSION)
++AM_INIT_AUTOMAKE([foreign])
+ AM_CONFIG_HEADER(config.h)
+ AM_MAINTAINER_MODE
+ 
--- dancer-xml-0.8.2.1.orig/patches/series
+++ dancer-xml-0.8.2.1/patches/series
@@ -0,0 +1 @@
+autoreconf.patch

Reply via email to