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.
54 lines
2.4 KiB
54 lines
2.4 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../gettext/gettext-0.18.1.1-glibc-2.16-no-gets.patch |
|
# Copyright (C) 2012 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 --- |
|
|
|
Since the 2.16 release of the glibc, 'gets' is not defined in the gnulib anymore |
|
|
|
This is a hack until upstream pulls in a new gnulib version |
|
|
|
Within gnulib this issue was already adsressed in the following commit: |
|
|
|
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=66712c23388e93e5c518ebc8515140fa0c80734 |
|
|
|
--- gettext-0.18.1.1/gettext-runtime/gnulib-lib/stdio.in.h.orig 2012-08-05 04:46:22.946751247 +0200 |
|
+++ gettext-0.18.1.1/gettext-runtime/gnulib-lib/stdio.in.h 2012-08-05 04:46:39.600879708 +0200 |
|
@@ -141,7 +141,6 @@ |
|
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@ |
|
--- gettext-0.18.1.1/gettext-tools/gnulib-lib/stdio.in.h.orig 2010-05-24 11:42:46.000000000 +0200 |
|
+++ gettext-0.18.1.1/gettext-tools/gnulib-lib/stdio.in.h 2012-08-05 04:48:54.833014467 +0200 |
|
@@ -141,7 +141,6 @@ |
|
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@ |
|
--- gettext-0.18.1.1/gettext-tools/libgettextpo/stdio.in.h.orig 2010-05-17 21:58:03.000000000 +0200 |
|
+++ gettext-0.18.1.1/gettext-tools/libgettextpo/stdio.in.h 2012-08-05 04:50:25.967804606 +0200 |
|
@@ -141,7 +141,6 @@ |
|
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@
|
|
|