diffutils: fix build with recent glibc
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 28 Dec 2012 10:41:22 +0000 (10:41 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 28 Dec 2012 21:47:03 +0000 (22:47 +0100)
commit653d64c5094d34ade03d0c30ead151ac9223edbd
tree4c883aaecf3ff2c3a9b80f702f7864c19875723e
parent695edcbabe5919fe52b593553c409e7ad9a4af83
diffutils: fix build with recent glibc

Fixes the following build problem with recent toolchains:

In file included from exclude.c:31:0:
./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)
  CC       hard-locale.o
make[4]: *** [exclude.o] Error 1
make[4]: *** Waiting for unfinished jobs....
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)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/diffutils/diffutils-gets-no-longer-exists-in-eglibc-2.16.patch [new file with mode: 0644]