+++ Debian Bug Tracking System [2012-11-15 18:45 +0000]:
Config.{guess,sub} changes accidentally got into the first patch.
Here's a clean one.
Wookey
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
diff -Nru tar-1.26/debian/changelog tar-1.26/debian/changelog
--- tar-1.26/debian/changelog 2011-12-30 16:33:42.000000000 +0000
+++ tar-1.26/debian/changelog 2012-11-15 18:16:35.000000000 +0000
@@ -1,3 +1,9 @@
+tar (1.26-5) UNRELEASED; urgency=low
+
+ * Fix included gnulib so we don't get FTBFS with eglibc-2.16
+
+ -- Wookey <[email protected]> Thu, 15 Nov 2012 18:13:30 +0000
+
tar (1.26-4) unstable; urgency=low
* mark "Mult-Arch: foreign" to ease crossgrading, closes: #649478
diff -Nru tar-1.26/debian/.gitignore tar-1.26/debian/.gitignore
--- tar-1.26/debian/.gitignore 2011-12-30 16:33:42.000000000 +0000
+++ tar-1.26/debian/.gitignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-files
-tar.1
-tar.debhelper.log
-tar.postinst.debhelper
-tar.postrm.debhelper
-tar.substvars
-tar
-
diff -Nru tar-1.26/debian/patches/eglibc-2.16-ftbfs-gnulib-nogets tar-1.26/debian/patches/eglibc-2.16-ftbfs-gnulib-nogets
--- tar-1.26/debian/patches/eglibc-2.16-ftbfs-gnulib-nogets 1970-01-01 01:00:00.000000000 +0100
+++ tar-1.26/debian/patches/eglibc-2.16-ftbfs-gnulib-nogets 2012-11-16 02:09:36.000000000 +0000
@@ -0,0 +1,28 @@
+Description: Allow package to build with glibc-2.16
+ 'gets' has been removed from glibc-2.16 but gnulib still refers to it
+ causing build failures.
+ The simple fix for now is just to put a check around the reference in
+ lib/stdio.in.h
+ A new release made with a new gnulib is a better fix.
+ .
+ tar (1.26-5) unstable; urgency=low
+ .
+ * Fix gnu/stdio.in.h to build with glibc-2.16 (gets removed)
+Author: Wookey <[email protected]>
+Last-Update: 2012-11-5
+Bug : http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00186.html
+Bug-Debian: http://bugs.debian.org/687986
+Forwarded: not-needed
+
+--- tar-1.26.orig/gnu/stdio.in.h
++++ tar-1.26/gnu/stdio.in.h
+@@ -164,7 +164,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+ #undef gets
++#ifdef HAVE_RAW_DECL_GETS
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
++#endif
+
+ #if @GNULIB_FOPEN@
+ # if @REPLACE_FOPEN@
diff -Nru tar-1.26/debian/patches/series tar-1.26/debian/patches/series
--- tar-1.26/debian/patches/series 2011-12-30 16:33:42.000000000 +0000
+++ tar-1.26/debian/patches/series 2012-11-15 16:40:40.000000000 +0000
@@ -1,3 +1,4 @@
doc-hack.diff
longlink-hack.diff
listed03-linux-only
+eglibc-2.16-ftbfs-gnulib-nogets