aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bison/patches
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-11-21 13:30:34 +0200
committerHans Dedecker <dedeckeh@gmail.com>2020-11-21 18:49:08 +0100
commit9d5eceae91a93d48f008cd6411b9f9baa1556421 (patch)
tree5aa4f5afd3b3c91723800767d634fddcd1401ffe /tools/bison/patches
parent7d03e90390c7a156f882a60f7551a177c38288a8 (diff)
downloadupstream-9d5eceae91a93d48f008cd6411b9f9baa1556421.tar.gz
upstream-9d5eceae91a93d48f008cd6411b9f9baa1556421.tar.bz2
upstream-9d5eceae91a93d48f008cd6411b9f9baa1556421.zip
tools/bison: update to 3.7.4
Update bison to 3.7.4 Release notes: http://git.savannah.gnu.org/cgit/bison.git/tree/NEWS?id=7a11a9308cb Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'tools/bison/patches')
-rw-r--r--tools/bison/patches/100-fix-gets-removal.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/bison/patches/100-fix-gets-removal.patch b/tools/bison/patches/100-fix-gets-removal.patch
index f97e8a3985..534713f180 100644
--- a/tools/bison/patches/100-fix-gets-removal.patch
+++ b/tools/bison/patches/100-fix-gets-removal.patch
@@ -1,6 +1,6 @@
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
-@@ -816,14 +816,6 @@ _GL_WARN_ON_USE (getline, "getline is un
+@@ -835,14 +835,6 @@ _GL_WARN_ON_USE (getline, "getline is un
# endif
#endif
@@ -12,6 +12,6 @@
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-#endif
-
- #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
- struct obstack;
- /* Grow an obstack with formatted output. Return the number of
+ #if defined _WIN32 && !defined __CYGWIN__
+ # undef getw
+ # define getw _getw