2013-10-04 23:02:11 +02:00
|
|
|
$NetBSD: patch-lib_stdio.in.h,v 1.3 2013/10/04 21:02:11 wiz Exp $
|
2013-07-19 14:13:36 +02:00
|
|
|
|
2013-07-19 16:49:28 +02:00
|
|
|
glibc 2.16's /usr/include/stdio.h does not provide gets(3) anymore,
|
|
|
|
and this line causes breakage.
|
2013-07-19 14:13:36 +02:00
|
|
|
From: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/m4/files/m4-1.4.16-no-gets.patch
|
|
|
|
|
2013-10-04 23:02:11 +02:00
|
|
|
--- lib/stdio.in.h.orig 2013-09-22 06:22:58.000000000 +0000
|
2013-07-19 14:13:36 +02:00
|
|
|
+++ lib/stdio.in.h
|
2013-10-04 23:02:11 +02:00
|
|
|
@@ -719,7 +719,6 @@ _GL_WARN_ON_USE (getline, "getline is un
|
|
|
|
removed it. */
|
2013-07-19 14:13:36 +02:00
|
|
|
#undef gets
|
2013-10-04 23:02:11 +02:00
|
|
|
#if HAVE_RAW_DECL_GETS
|
2013-07-19 14:13:36 +02:00
|
|
|
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
2013-10-04 23:02:11 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-19 14:13:36 +02:00
|
|
|
|