Fri Jul 19 14:49:28 2013 UTC ()
Fix comment on patches/patch-lib_stdio.in.h.
Previous comment is irrelevant. Pointed out by wiz@. Thank you.


(ryoon)
diff -r1.36 -r1.37 pkgsrc/devel/m4/distinfo
diff -r1.1 -r1.2 pkgsrc/devel/m4/patches/patch-lib_stdio.in.h

cvs diff -r1.36 -r1.37 pkgsrc/devel/m4/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/m4/distinfo 2013/07/19 12:13:36 1.36
+++ pkgsrc/devel/m4/distinfo 2013/07/19 14:49:28 1.37
@@ -1,10 +1,10 @@ @@ -1,10 +1,10 @@
1$NetBSD: distinfo,v 1.36 2013/07/19 12:13:36 ryoon Exp $ 1$NetBSD: distinfo,v 1.37 2013/07/19 14:49:28 ryoon Exp $
2 2
3SHA1 (m4-1.4.16.tar.gz) = 44b3ed8931f65cdab02aee66ae1e49724d2551a4 3SHA1 (m4-1.4.16.tar.gz) = 44b3ed8931f65cdab02aee66ae1e49724d2551a4
4RMD160 (m4-1.4.16.tar.gz) = 9b161898b9fb2fc44614e644a0e3bdab3ff1328b 4RMD160 (m4-1.4.16.tar.gz) = 9b161898b9fb2fc44614e644a0e3bdab3ff1328b
5Size (m4-1.4.16.tar.gz) = 1657870 bytes 5Size (m4-1.4.16.tar.gz) = 1657870 bytes
6SHA1 (patch-aa) = ef316620b49f78f46e9dea47032b0141814c1f43 6SHA1 (patch-aa) = ef316620b49f78f46e9dea47032b0141814c1f43
7SHA1 (patch-ab) = b29840365e983623bce64e84ceab3504b8270b32 7SHA1 (patch-ab) = b29840365e983623bce64e84ceab3504b8270b32
8SHA1 (patch-ac) = 7bd9164c659727a906ef54a2f1027e9fd19315ba 8SHA1 (patch-ac) = 7bd9164c659727a906ef54a2f1027e9fd19315ba
9SHA1 (patch-lib_stdio.in.h) = 464c6eea35951bd5b215ddca557d0caf45e9fc9e 9SHA1 (patch-lib_stdio.in.h) = 1a550d1c2464319d0ba04b5635d9e997d7f4a0dd
10SHA1 (patch-lib_verror.h) = 4c50ab0bc90a6324845e145bbe140836179ca8c9 10SHA1 (patch-lib_verror.h) = 4c50ab0bc90a6324845e145bbe140836179ca8c9

cvs diff -r1.1 -r1.2 pkgsrc/devel/m4/patches/Attic/patch-lib_stdio.in.h (expand / switch to unified diff)

--- pkgsrc/devel/m4/patches/Attic/patch-lib_stdio.in.h 2013/07/19 12:13:36 1.1
+++ pkgsrc/devel/m4/patches/Attic/patch-lib_stdio.in.h 2013/07/19 14:49:28 1.2
@@ -1,18 +1,16 @@ @@ -1,18 +1,16 @@
1$NetBSD: patch-lib_stdio.in.h,v 1.1 2013/07/19 12:13:36 ryoon Exp $ 1$NetBSD: patch-lib_stdio.in.h,v 1.2 2013/07/19 14:49:28 ryoon Exp $
2 2
 3glibc 2.16's /usr/include/stdio.h does not provide gets(3) anymore,
 4and this line causes breakage.
3From: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/m4/files/m4-1.4.16-no-gets.patch 5From: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/m4/files/m4-1.4.16-no-gets.patch
4Gnulib intentionally does not have a gets module, and now that C11 
5and glibc have dropped it, we should be more proactive about warning 
6any user on a platform that still has a declaration of this dangerous 
7interface. 
8 6
9--- lib/stdio.in.h.orig 2011-03-01 16:39:29.000000000 +0000 7--- lib/stdio.in.h.orig 2011-03-01 16:39:29.000000000 +0000
10+++ lib/stdio.in.h 8+++ lib/stdio.in.h
11@@ -162,7 +162,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not  9@@ -162,7 +162,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not
12 so any use of gets warrants an unconditional warning. Assume it is 10 so any use of gets warrants an unconditional warning. Assume it is
13 always declared, since it is required by C89. */ 11 always declared, since it is required by C89. */
14 #undef gets 12 #undef gets
15-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); 13-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
16  14
17 #if @GNULIB_FOPEN@ 15 #if @GNULIB_FOPEN@
18 # if @REPLACE_FOPEN@ 16 # if @REPLACE_FOPEN@