You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
34 lines
1.3 KiB
12 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
|
# Filename: package/.../prelude-lml/prelude-lml-1.0.0-glibc-2.16-no-gets.patch
|
||
|
# Copyright (C) 2013 The OpenSDE Project
|
||
|
#
|
||
|
# More information can be found in the files COPYING and README.
|
||
|
#
|
||
|
# This patch file is dual-licensed. It is available under the license the
|
||
|
# patched project is licensed under, as long as it is an OpenSource license
|
||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||
|
# of the GNU General Public License as published by the Free Software
|
||
|
# Foundation; either version 2 of the License, or (at your option) any later
|
||
|
# version.
|
||
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||
|
|
||
|
--- prelude-lml-1.0.0/libmissing/stdio.in.h.orig 2012-10-30 17:15:24.449864079 +0100
|
||
|
+++ prelude-lml-1.0.0/libmissing/stdio.in.h 2012-10-30 17:18:49.534581397 +0100
|
||
|
@@ -114,10 +114,12 @@
|
||
|
#endif
|
||
|
|
||
|
/* It is very rare that the developer ever has full control of stdin,
|
||
|
- so any use of gets warrants an unconditional warning. Assume it is
|
||
|
- always declared, since it is required by C89. */
|
||
|
+ so any use of gets warrants an unconditional warningbesides, C11
|
||
|
+ removed it. */
|
||
|
#undef gets
|
||
|
+#if HAVE_RAW_DECL_GETS
|
||
|
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
||
|
+#endif
|
||
|
|
||
|
#if @GNULIB_FOPEN@
|
||
|
# if @REPLACE_FOPEN@
|