tags 738778 + pending
thanks

Dear maintainer,

I've prepared an NMU for librep (versioned as 0.90.2-1.5) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.
Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
diff -u librep-0.90.2/debian/rules librep-0.90.2/debian/rules
--- librep-0.90.2/debian/rules
+++ librep-0.90.2/debian/rules
@@ -48,6 +48,7 @@
 	cp /usr/share/misc/config.guess .
 	cp /usr/share/misc/config.sub .
 
+	dh_autoreconf
 	CONFIG_SHELL=/bin/bash /bin/bash ./configure \
 	--prefix=/usr --libexecdir=/usr/lib --mandir=/usr/share/man \
 	--build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
@@ -75,6 +76,7 @@
 
 	debian/rules unpatch
 
+	dh_autoreconf_clean
 	dh_clean debian/librep-dev.install debian/${version}.install \
 	 src/rep-xgettext config.sub config.guess
 
diff -u librep-0.90.2/debian/control librep-0.90.2/debian/control
--- librep-0.90.2/debian/control
+++ librep-0.90.2/debian/control
@@ -5,7 +5,7 @@
 Standards-Version: 3.8.3
 Build-Depends: texinfo (>= 4.11-2), debhelper (>= 7), libgmp-dev,
  libgdbm-dev, libreadline-dev, libncurses5-dev, libtool,
- dpatch, autotools-dev, pkg-config, libffi-dev
+ dpatch, autotools-dev, pkg-config, libffi-dev, dh-autoreconf
 Homepage: http://librep.sourceforge.net/
 Vcs-Browser: http://git.debian.org/?p=collab-maint/librep.git
 Vcs-Git: git://git.debian.org/git/collab-maint/librep.git
diff -u librep-0.90.2/debian/changelog librep-0.90.2/debian/changelog
--- librep-0.90.2/debian/changelog
+++ librep-0.90.2/debian/changelog
@@ -1,3 +1,10 @@
+librep (0.90.2-1.5) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf to support new architectures (Closes: #738778)
+
+ -- Wookey <woo...@debian.org>  Fri, 16 Oct 2015 01:37:32 +0000
+
 librep (0.90.2-1.4) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- librep-0.90.2.orig/Makedefs.in
+++ librep-0.90.2/Makedefs.in
@@ -20,7 +20,7 @@
 
 version=@version@
 libversion=@libversion@
-SHELL=/bin/sh
+SHELL=/bin/bash
 
 top_srcdir=@top_srcdir@
 srcdir=@srcdir@
only in patch2:
unchanged:
--- librep-0.90.2.orig/configure.in
+++ librep-0.90.2/configure.in
@@ -549,8 +549,14 @@
   esac
 fi
 if test "${with_stack_direction}" = unknown; then
-  AC_TRY_RUN([ void inner (char *foo) { char bar; exit (!(foo >= &bar)); }
-	       void main () { char foo; inner (&foo); } ],
+  AC_TRY_RUN([
+#include <stdio.h>
+#include <string.h>
+int inner(int *a) { int b; char sa[50], sb[50];
+  sprintf(sa, "%049llu", (unsigned long long)a);
+  sprintf(sb, "%049llu", (unsigned long long)&b);
+  return strcmp(sa, sb); }
+int main() { int x; return inner(&x) < 0; } ],
    [AC_MSG_RESULT([downwards])
     with_stack_direction=-1],
    [AC_MSG_RESULT([upwards])
only in patch2:
unchanged:
--- librep-0.90.2.orig/src/repint.h
+++ librep-0.90.2/src/repint.h
@@ -232,8 +232,8 @@
    call when the heap needs to grow. */
 
 #if defined __GNUC__ && defined __OPTIMIZE__
-extern __inline__ repv inline_Fcons (repv x, repv y);
-extern __inline__ repv
+static __inline__ repv inline_Fcons (repv x, repv y);
+static __inline__ repv
 inline_Fcons (repv x, repv y)
 {
     rep_cons *c = rep_cons_freelist;

Attachment: signature.asc
Description: Digital signature

Reply via email to