Magellan Linux

Contents of /trunk/diffutils/patches/diffutils-3.2-gnulib-gets.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1846 - (show annotations) (download)
Fri Jul 13 16:59:57 2012 UTC (11 years, 9 months ago) by niro
File size: 446 byte(s)
-fixed ftbfs with newer glibc
1 diff -Naur diffutils-3.2/lib/stdio.in.h diffutils-3.2-magellan/lib/stdio.in.h
2 --- diffutils-3.2/lib/stdio.in.h 2011-08-28 13:57:28.000000000 +0200
3 +++ diffutils-3.2-magellan/lib/stdio.in.h 2012-07-13 20:53:56.791982660 +0200
4 @@ -681,7 +681,7 @@
5 # endif
6 #endif
7
8 -#if @GNULIB_GETS@
9 +#if HAVE_RAW_DECL_GETS
10 # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
11 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
12 # undef gets