pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/m4 Fix build on Ubuntu Linux/amd64 13.04.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4ec46cf8e5c7
branches: trunk
changeset: 621848:4ec46cf8e5c7
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Fri Jul 19 12:13:36 2013 +0000
description:
Fix build on Ubuntu Linux/amd64 13.04.
* patch is borrowed from Gentoo Linux.
diffstat:
devel/m4/distinfo | 3 ++-
devel/m4/patches/patch-lib_stdio.in.h | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r 9898d0393139 -r 4ec46cf8e5c7 devel/m4/distinfo
--- a/devel/m4/distinfo Fri Jul 19 10:08:58 2013 +0000
+++ b/devel/m4/distinfo Fri Jul 19 12:13:36 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2012/04/27 21:01:41 wiz Exp $
+$NetBSD: distinfo,v 1.36 2013/07/19 12:13:36 ryoon Exp $
SHA1 (m4-1.4.16.tar.gz) = 44b3ed8931f65cdab02aee66ae1e49724d2551a4
RMD160 (m4-1.4.16.tar.gz) = 9b161898b9fb2fc44614e644a0e3bdab3ff1328b
@@ -6,4 +6,5 @@
SHA1 (patch-aa) = ef316620b49f78f46e9dea47032b0141814c1f43
SHA1 (patch-ab) = b29840365e983623bce64e84ceab3504b8270b32
SHA1 (patch-ac) = 7bd9164c659727a906ef54a2f1027e9fd19315ba
+SHA1 (patch-lib_stdio.in.h) = 464c6eea35951bd5b215ddca557d0caf45e9fc9e
SHA1 (patch-lib_verror.h) = 4c50ab0bc90a6324845e145bbe140836179ca8c9
diff -r 9898d0393139 -r 4ec46cf8e5c7 devel/m4/patches/patch-lib_stdio.in.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-lib_stdio.in.h Fri Jul 19 12:13:36 2013 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-lib_stdio.in.h,v 1.1 2013/07/19 12:13:36 ryoon Exp $
+
+From: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/m4/files/m4-1.4.16-no-gets.patch
+Gnulib intentionally does not have a gets module, and now that C11
+and glibc have dropped it, we should be more proactive about warning
+any user on a platform that still has a declaration of this dangerous
+interface.
+
+--- lib/stdio.in.h.orig 2011-03-01 16:39:29.000000000 +0000
++++ lib/stdio.in.h
+@@ -162,7 +162,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+ #undef gets
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+
+ #if @GNULIB_FOPEN@
+ # if @REPLACE_FOPEN@
Home |
Main Index |
Thread Index |
Old Index