user debian-powe...@lists.debian.org
usertags 756354 + ppc64el
thanks

This also affects ppc64el.
Peter's patch works but does not clean well.
I have applied his patch and added a minor change to do so.
The debdiff is attached.

Regards.
diff -Nru regina-rexx-3.6/debian/changelog regina-rexx-3.6/debian/changelog
--- regina-rexx-3.6/debian/changelog	2012-06-30 12:24:40.000000000 -0400
+++ regina-rexx-3.6/debian/changelog	2016-05-12 12:32:30.000000000 -0400
@@ -1,3 +1,10 @@
+regina-rexx (3.6-3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Applied patch from #756354 with some changes to clean properly.
+
+ -- Fernando Seiti Furusato <ferse...@br.ibm.com>  Thu, 12 May 2016 12:31:59 -0400
+
 regina-rexx (3.6-2) unstable; urgency=low
 
   * Fixed debian/rules build target.
diff -Nru regina-rexx-3.6/debian/control regina-rexx-3.6/debian/control
--- regina-rexx-3.6/debian/control	2012-06-30 06:09:52.000000000 -0400
+++ regina-rexx-3.6/debian/control	2016-05-12 12:31:55.000000000 -0400
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Alen Zekulic <a...@nms.hr>
-Build-Depends: binutils, libncurses5-dev
+Build-Depends: binutils, libncurses5-dev, autotools-dev
 Standards-Version: 3.9.3
 Homepage: http://regina-rexx.sourceforge.net/
 
diff -Nru regina-rexx-3.6/debian/rules regina-rexx-3.6/debian/rules
--- regina-rexx-3.6/debian/rules	2012-06-30 12:20:43.000000000 -0400
+++ regina-rexx-3.6/debian/rules	2016-05-12 12:29:43.000000000 -0400
@@ -45,11 +45,19 @@
 configure: stamp-configure
 stamp-configure:
 	$(checkdir)
+	cp -f common/config.guess common/config.guess.old
+	cp -f common/config.sub common/config.sub.old
+	cp -f /usr/share/misc/config.sub common/
+	cp -f /usr/share/misc/config.guess common/
 	LDFLAGS="$(LDFLAGS)" ./configure $(confflags)
 	touch stamp-configure
 
 clean:
 	$(checkdir)
+	if [ -f common/config.sub.old -a -f common/config.guess.old ]; then \
+	    mv common/config.sub.old common/config.sub; \
+	    mv common/config.guess.old common/config.guess; \
+	fi
 	-rm -f stamp-build stamp-configure config.cache config.log config.guess config.sub
 	[ ! -f Makefile ] || $(MAKE) distclean
 	-chmod 644 debian/md5_sums

Reply via email to