diff -u coreutils-8.13/debian/changelog coreutils-8.13/debian/changelog
--- coreutils-8.13/debian/changelog
+++ coreutils-8.13/debian/changelog
@@ -1,3 +1,9 @@
+coreutils (8.13-3.2ubuntu2eglibc1) precise; urgency=low
+
+  * Fix FTBFS with glibc-2.16 (outdated gnulib/removed gets)
+
+ -- Wookey <wookey@wookware.org>  Mon, 19 Nov 2012 16:06:10 +0000
+
 coreutils (8.13-3.2ubuntu2) quantal; urgency=low
 
   * Update config.guess,sub for aarch64
diff -u coreutils-8.13/debian/patches/00list coreutils-8.13/debian/patches/00list
--- coreutils-8.13/debian/patches/00list
+++ coreutils-8.13/debian/patches/00list
@@ -15,0 +16 @@
+glibc-2.16-ftbfs-fix
only in patch2:
unchanged:
--- coreutils-8.13.orig/debian/patches/glibc-2.16-ftbfs-fix.dpatch
+++ coreutils-8.13/debian/patches/glibc-2.16-ftbfs-fix.dpatch
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 93_glibc-2.16-ftbfs-fix.dpatch by  <wookey@wookware.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix FTBFS with glibc-21.6
+
+@DPATCH@
+
+--- coreutils-8.13~/lib/stdio.in.h	2011-06-17 09:06:20.000000000 +0100
++++ coreutils-8.13/lib/stdio.in.h.fixed	2012-11-19 15:44:09.000000000 +0000
+@@ -695,10 +695,11 @@
+ # endif
+ _GL_CXXALIASWARN (gets);
+ /* It is very rare that the developer ever has full control of stdin,
+-   so any use of gets warrants an unconditional warning.  Assume it is
+-   always declared, since it is required by C89.  */
++   so any use of gets warrants an unconditional warning. */
++#ifdef HAVE_RAW_DECL_GETS
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
++#endif
+ 
+ 
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
