From 8b7e1c4269e6911f86214e225a0d97a21abf9276 Mon Sep 17 00:00:00 2001 From: guojunding Date: Fri, 16 Aug 2024 13:52:56 +0800 Subject: [PATCH] Update flex.texi --- 0005-backport-Update-flex.texi.patch | 25 +++++++++++++++++++++++++ flex.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0005-backport-Update-flex.texi.patch diff --git a/0005-backport-Update-flex.texi.patch b/0005-backport-Update-flex.texi.patch new file mode 100644 index 0000000..a9a37f2 --- /dev/null +++ b/0005-backport-Update-flex.texi.patch @@ -0,0 +1,25 @@ +From eb7f3a8cc146a370748f45c335c0cd80b3edf6cc Mon Sep 17 00:00:00 2001 +From: Nikolaos Chatzikonstantinou +Date: Fri, 9 Aug 2024 04:39:31 -0400 +Subject: [PATCH] Update flex.texi + +--- + doc/flex.texi | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/flex.texi b/doc/flex.texi +index bccab1e..3804c11 100644 +--- a/doc/flex.texi ++++ b/doc/flex.texi +@@ -4388,7 +4388,7 @@ the scanner: + in = fopen( filename, "r" ); + stat( filename, &buf ); + +- yylex_init_extra( buf, &scanner ); ++ yylex_init_extra( &buf, &scanner ); + yyset_in( in, scanner ); + yylex( scanner ); + yylex_destroy( scanner ); +-- +2.9.3.windows.1 + diff --git a/flex.spec b/flex.spec index 6cd8210..5a4ff91 100644 --- a/flex.spec +++ b/flex.spec @@ -1,6 +1,6 @@ Name: flex Version: 2.6.4 -Release: 7 +Release: 8 Summary: A fast lexical analyzer generator License: BSD URL: https://github.com/westes/flex @@ -19,6 +19,7 @@ Patch0009: 0001-scanner-fix-default-of-yy_top_state.patch Patch0010: 0002-scanner-fix-default-of-yy_top_state.patch Patch0011: 0003-backport-Fix-pattern-documentation-for-case-insensitive-ranges.patch Patch0012: 0004-backport-fix-typo.patch +Patch0013: 0005-backport-Update-flex.texi.patch BuildRequires: gcc gcc-c++ gettext help2man m4 bison texinfo automake autoconf Requires: m4 @@ -107,6 +108,9 @@ fi %{_mandir}/man1/* %changelog +* Fri Aug 16 2024 guojunding - 2.6.4-8 +- Update flex.texi + * Fri Aug 9 2024 guojunding - 2.6.4-7 - Fix typo -- Gitee