diff --git a/0004-backport-fix-typo.patch b/0004-backport-fix-typo.patch new file mode 100644 index 0000000000000000000000000000000000000000..036b7e64d4cc150ac2dc3f4e3be72a3b33e16a8d --- /dev/null +++ b/0004-backport-fix-typo.patch @@ -0,0 +1,25 @@ +From 9921366cfeea2a51eb06c825b486c078ddca2177 Mon Sep 17 00:00:00 2001 +From: "winter.loo" +Date: Sun, 2 Jul 2023 19:57:54 +0800 +Subject: [PATCH] doc: fix typo + +--- + doc/flex.texi | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/flex.texi b/doc/flex.texi +index bccab1e..12b6b0d 100644 +--- a/doc/flex.texi ++++ b/doc/flex.texi +@@ -4499,7 +4499,7 @@ when @code{%option bison-locations} (@samp{--bison-locations}) is specified: + @end example + + Support for yylval assumes that @code{YYSTYPE} is a valid type. Support for +-yylloc assumes that @code{YYSLYPE} is a valid type. Typically, these types are ++yylloc assumes that @code{YYLTYPE} is a valid type. Typically, these types are + generated by @code{bison}, and are included in section 1 of the @code{flex} + input. + +-- +2.9.3.windows.1 + diff --git a/flex.spec b/flex.spec index a90d708946945bb49ce603f9d891b4a512ad1ddb..6cd8210f1143f03a21bc7c39535dc8422b3334c3 100644 --- a/flex.spec +++ b/flex.spec @@ -1,6 +1,6 @@ Name: flex Version: 2.6.4 -Release: 6 +Release: 7 Summary: A fast lexical analyzer generator License: BSD URL: https://github.com/westes/flex @@ -18,6 +18,7 @@ Patch0008: scanner-prevent-overflow-in-add_action.patch 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 BuildRequires: gcc gcc-c++ gettext help2man m4 bison texinfo automake autoconf Requires: m4 @@ -106,6 +107,9 @@ fi %{_mandir}/man1/* %changelog +* Fri Aug 9 2024 guojunding - 2.6.4-7 +- Fix typo + * Tue Jul 30 2024 guojunding - 2.6.4-6 - Fix pattern documentation for case-insensitive ranges