diff -Nru tar-1.26/debian/changelog tar-1.26/debian/changelog
--- tar-1.26/debian/changelog	2012-03-31 01:57:24.000000000 +0100
+++ tar-1.26/debian/changelog	2012-11-15 19:49:56.000000000 +0000
@@ -1,3 +1,9 @@
+tar (1.26-4ubuntu2) precise; urgency=low
+
+  * Fix FTBFS when building against eglibc-2.16
+
+ -- Wookey <wookey@wookware.org>  Thu, 15 Nov 2012 19:48:41 +0000
+
 tar (1.26-4ubuntu1) precise; urgency=low
 
   * Build-depend on gettext:any, since we only need it to run tools at
diff -Nru tar-1.26/debian/.gitignore tar-1.26/debian/.gitignore
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:02: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 <wookey@wookware.org>
+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-11-27 15:13:45.000000000 +0000
+++ tar-1.26/debian/patches/series	2012-11-15 19:48:22.000000000 +0000
@@ -1,3 +1,4 @@
 doc-hack.diff
 longlink-hack.diff
 listed03-linux-only
+eglibc-2.16-ftbfs-gnulib-nogets
