diff -Nru rxvt-2.7.10/debian/autoreconf rxvt-2.7.10/debian/autoreconf
--- rxvt-2.7.10/debian/autoreconf	1970-01-01 00:00:00.000000000 +0000
+++ rxvt-2.7.10/debian/autoreconf	2014-06-23 20:59:15.000000000 +0000
@@ -0,0 +1 @@
+autoconf
diff -Nru rxvt-2.7.10/debian/changelog rxvt-2.7.10/debian/changelog
--- rxvt-2.7.10/debian/changelog	2013-09-21 22:13:42.000000000 +0000
+++ rxvt-2.7.10/debian/changelog	2014-06-23 22:06:01.000000000 +0000
@@ -1,3 +1,10 @@
+rxvt (1:2.7.10-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf in build to support new architectures (Closes: #727501)
+
+ -- Wookey <wookey@debian.org>  Fri, 06 Jun 2014 20:44:21 +0800
+
 rxvt (1:2.7.10-5) unstable; urgency=low
 
   * Applied the following patches which were applied to rxvt-beta:
diff -Nru rxvt-2.7.10/debian/control rxvt-2.7.10/debian/control
--- rxvt-2.7.10/debian/control	2013-07-12 01:33:09.000000000 +0000
+++ rxvt-2.7.10/debian/control	2014-06-23 02:27:59.000000000 +0000
@@ -2,7 +2,7 @@
 Section: x11
 Priority: optional
 Maintainer: George Gensure <werkt0@gmail.com>
-Build-Depends: libx11-dev, libxt-dev, libxpm-dev, debhelper (>= 9), autotools-dev
+Build-Depends: libx11-dev, libxt-dev, libxpm-dev, debhelper (>= 9), dh-autoreconf, autotools-dev
 Standards-Version: 3.9.4
 Homepage: http://rxvt.sourceforge.net/
 
diff -Nru rxvt-2.7.10/debian/rules rxvt-2.7.10/debian/rules
--- rxvt-2.7.10/debian/rules	2013-08-29 01:40:18.000000000 +0000
+++ rxvt-2.7.10/debian/rules	2014-06-23 21:47:53.000000000 +0000
@@ -51,6 +51,9 @@
 	[ ! -f Makefile ] || $(MAKE) -i distclean
 	rm -f src/rxvt-xterm src/rxvt-xpm src/krxvt src/grxvt src/crxvt-gb src/crxvt-big5
 	rm -f doc/rxvt.1 rxvt-xterm.1 src/rxvtlib.h doc/Makefile doc/yodl/rxvtRef.yo
+	dh_autoreconf_clean
+	dh_autotools-dev_restoreconfig
+	[ ! -f .configure.orig ] || mv .configure.orig configure
 	dh_clean
 
 build: build-arch build-indep
@@ -60,6 +63,10 @@
 build.stamp:
 	dh_testdir
 
+	dh_autotools-dev_updateconfig
+	dh_autoreconf
+	mv configure .configure.orig
+	cp autoconf/configure .
 	./configure $(CFG_BASE) --without-xpm
 	echo "#define PTYS_ARE_GETPT 1" >> config.h
 	$(MAKE) $(MAKEFLAGS) $(CROSS) CPPFLAGS='$(CPPFLAGS)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' all clock
