Brandon Invergo wrote:
> Building diffutils fails with recent versions of glibc (2.16+). The
> error occurs in files pulled in from gnulib:
>
> In file included from exclude.c:31:0:
> ./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)
> CC hard-locale.o
> In file included from stdio-safer.h:20:0,
> from freopen-safer.c:22:
> ./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)
Thanks for the report.
That's been fixed in diffutils.git for months,
so if you build from git, following these instructions,
it should work just fine:
http://git.sv.gnu.org/cgit/diffutils.git/tree/README-hacking
But your mentioning this problem made me realize it's been
over a year since the last release, so I've just made a snapshot:
http://thread.gmane.org/gmane.comp.gnu.diffutils.bugs/411