Build fails with recent glibc due to outdated gnulib

2012-08-22 Thread Brandon Invergo
Building m4 fails with recent versions of glibc (2.16+). The error occurs in a file pulled in from gnulib: In file included from clean-temp.h:22:0, from clean-temp.c:23: ./stdio.h:477:1: error: 'gets' undeclared here (not in a function) make[4]: *** [clean-temp.o] Error 1 make[4]:

Re: Build fails with recent glibc due to outdated gnulib

2012-08-22 Thread Eric Blake
On 08/22/2012 11:52 AM, Brandon Invergo wrote: > Building m4 fails with recent versions of glibc (2.16+). The error > occurs in a file pulled in from gnulib: > > In file included from clean-temp.h:22:0, > from clean-temp.c:23: > ./stdio.h:477:1: error: 'gets' undeclared here (not

Re: Build fails with recent glibc due to outdated gnulib

2012-08-22 Thread Mike Frysinger
On Wednesday 22 August 2012 13:52:59 Brandon Invergo wrote: > Building m4 fails with recent versions of glibc (2.16+). The error > occurs in a file pulled in from gnulib: yes. use this simple patch until the next m4 release. http://sources.gentoo.org/sys-devel/m4/files/m4-1.4.16-no-gets.patch -mi