diff -Nru diffutils-3.2/debian/changelog diffutils-3.2/debian/changelog
--- diffutils-3.2/debian/changelog	2012-03-19 06:30:53.000000000 +0000
+++ diffutils-3.2/debian/changelog	2012-11-15 19:54:25.000000000 +0000
@@ -1,3 +1,9 @@
+diffutils (1:3.2-1ubuntu2) UNRELEASED; urgency=low                                                                                                                      
+                                                                                                                                                                 
+  * Fix lib/stdio.in.h to build with glibc-2.16 (no gets)                                                                                                        
+                                                                                                                                                                 
+ -- Wookey <wookey@wookware.org>  Thu, 15 Nov 2012 15:56:17 +0000                                                                                                
+  
 diffutils (1:3.2-1ubuntu1) precise; urgency=low
 
   * Ensure correct strip is called when cross-building (LP: #957353)
diff -Nru diffutils-3.2/debian/patches/eglibc-2.16-nogets diffutils-3.2/debian/patches/eglibc-2.16-nogets
--- diffutils-3.2/debian/patches/eglibc-2.16-nogets	1970-01-01 01:00:00.000000000 +0100
+++ diffutils-3.2/debian/patches/eglibc-2.16-nogets	2012-11-15 19:51:48.000000000 +0000
@@ -0,0 +1,31 @@
+Description: Allow diffutils to build with glibc2.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 remove the reference in
+ lib/stdio.in.h
+ A new diffutils release made with a new gnulib is a better fix
+ .
+ diffutils (1:3.2-8) UNRELEASED; urgency=low
+ .
+   * Fix lib/stdio.in.h to build with glibc-2.16 (no gets)
+Author: Wookey <wookey@wookware.org>
+
+---
+Bug : http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00186.html
+Bug-Debian: http://bugs.debian.org/687986
+Forwarded: not-needed
+Last-Update: 2012-11-15
+
+--- diffutils-3.2.orig/lib/stdio.in.h
++++ diffutils-3.2/lib/stdio.in.h
+@@ -694,10 +694,6 @@ _GL_CXXALIAS_SYS (gets, char *, (char *s
+ #  undef gets
+ # 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.  */
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
+ 
+ 
diff -Nru diffutils-3.2/debian/patches/series diffutils-3.2/debian/patches/series
--- diffutils-3.2/debian/patches/series	2011-08-04 18:51:29.000000000 +0100
+++ diffutils-3.2/debian/patches/series	2012-11-15 19:55:08.000000000 +0000
@@ -1 +1,2 @@
 01-no-usr-share-info-dir-gz
+eglibc-2.16-nogets
