public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] flex: Update to version 2.7.16
Date: Sat,  5 Dec 2026 21:16:15 +0100	[thread overview]
Message-ID: <20261205201625.2213794-7-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20261205201625.2213794-1-adolf.belka@ipfire.org>

- Update from version 2.7.10 to 2.7.16
- No change in rootfile
- Changelog
2.7.16
** scanner
	The yydecl option now works in a C++ scanner that also uses the yyclass
	 option, such as one whose class has its own yylex() method with different
	arguments. Before, the generated scanner did not compile. (#949)
2.7.15
** documentation
	Updated fr translation from the Translation Project.
** scanner
	A scanner built in a strict ISO C mode, such as -std=c99, compiles
	 on DragonFly BSD. Its <stdio.h> defines fileno as a macro, and the
	 declaration of fileno that flex adds in these modes was a syntax
	 error after that. Flex now leaves its own declaration out when
	 fileno is already a macro. (#936)
2.7.14
** scanner
	A scanner built with -CF, or with %option fast, compiles again when
	 it has a rule that begins with ^. Flex wrote a stray pair of quote
	 marks and a comma in place of an equals sign in the generated code
	 that finds the start state, so the C compiler stopped with a syntax
	 error. This has been so since flex 2.6.5. -Cf and the default
	 table options were not affected. (#932)
2.7.13
** documentation
Updated bg, ka, lv, nl, pl, pt, pt_BR, ro, sv, uk translations from
the Translation Project.
** scanner
	A call in an action to one of the functions of flex 2.6.4 is read up
	 to its own closing parenthesis. Flex ended the arguments of
	 yyunput(), yyless() and the other calls at the first closing
	 parenthesis, so a cast or a nested call cut the call short. A
	 two-argument yyunput((int) 'b', (char *) yytext) was written as
	 unput() with two arguments, which does not compile. A parenthesis
	 or a comma inside a string or character constant no longer counts
	 either. (#926)
	A scanner reads at least 8192 bytes at a time again, as it did in
	 flex 2.6.4. Since flex 2.6.5 it read BUFSIZ bytes, which is only
	 1024 on systems with musl, such as Alpine Linux, and on the BSDs. A
	 scanner built there stopped with "flex scanner push-back overflow"
	 on a large unput, and so did flex itself. (#925)
	The option -DNAME=VALUE works again. Flex wrote it as "#define
	 NAME=VALUE =VALUE", so the scanner would not compile. It now writes
	 define NAME VALUE", and -DNAME alone defines NAME as 1. (#923)
2.6.12
** build
	make pdf" builds the PDF version of the manual again. Since flex
	 2.6.5-rc1 it stopped with the error "@TEXI2PDF@: command not found"
	 instead of running texi2dvi. The PDF is still not included in the
	 source distribution. (#537)
	The repository has a git hook that checks the spelling of the files
	 in each commit with codespell, alongside the existing hook that
	 checks commit messages. A clone turns on both with
	 git config core.hooksPath .githooks". Pull requests are checked
	 for spelling too. (#909)
** Documentation
	The copyright notices have been brought up to date. COPYING and the
	 manual now give the Flex Project's years as 2001-2026, where they
	 stopped at 2007. The installed FlexLexer.h header now carries the
	 Flex Project's copyright and license identifier, and says that a
	 C++ scanner that includes it is as free of the notice as a scanner
	 generated for any other language. (#485)
	Misspellings in the manual have been corrected. (#909)
** scanner
	The option --header-file now works with %option c++. Flex accepted
	 it and wrote nothing. For a C++ scanner it now writes the
	 FlexLexer.h of the flex that generated the scanner, and the scanner
	 includes that file by its name, without the directory, in place of
	 <FlexLexer.h>. A scanner built for another machine, as when
	 cross-compiling, then takes its header from the build instead of
	 from whatever copy the compiler finds on the system. Keep the file
	 in the scanner's directory, or add its directory to the include
	 path. (#483)
2.6.11
** scanner
	A scanner generated in C mode and compiled as C++ defines its
	 buffer struct as yy_buffer_state again, as it did before 2.7.8.
	 Flex 2.7.8 renamed it to yy_c_buffer_state, so a program that
	 declares struct yy_buffer_state itself failed to link with such a
	 scanner. A program that links one with a scanner generated with
	 %option c++ can still give the C scanner a different struct name by
	 defining YY_C_BUFFER_STATE_TAG, for example as yy_c_buffer_state,
	 wherever it includes the C scanner's header. (#910)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/flex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lfs/flex b/lfs/flex
index 984976e21..6761dfd69 100644
--- a/lfs/flex
+++ b/lfs/flex
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 2.7.10
+VER        = 2.7.16
 
 THISAPP    = flex-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -52,7 +52,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 3e20f416385cdb08867b5eff65c14810dff339e4428dd0c76487774fea25c0c1a907423418e1ad6193a0b6804f6197c697e74b774b1f0511d82ed44aa42933fe
+$(DL_FILE)_BLAKE2 = ed2d00006a9bfee0ab5bd0b0c42afb9be7c02d6eff8ec1aa112af966c303f5e8c2fdf4850c61e2240edbe1b2db4e0ca267c4d8000070437978d00bb014641e13
 
 install : $(TARGET)
 
-- 
2.56.1



  parent reply	other threads:[~2026-12-05 20:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05 20:16 [PATCH] bird: Update to version 3.4.1 Adolf Belka
2026-12-05 20:16 ` [PATCH] core208: Ship ntfs-3g Adolf Belka
2026-12-05 20:16 ` [PATCH] core208: Ship openvpn Adolf Belka
2026-12-05 20:16 ` [PATCH] core208: Ship pam Adolf Belka
2026-12-05 20:16 ` [PATCH] core208: Ship vim Adolf Belka
2026-12-05 20:16 ` [PATCH] core208: Ship xz Adolf Belka
2026-12-05 20:16 ` Adolf Belka [this message]
2026-12-05 20:16 ` [PATCH] haproxy: Update to version 3.5.0 Adolf Belka
2026-12-05 20:16 ` [PATCH] libvirt: Update to version 12.10.0 Adolf Belka
2026-12-05 20:16 ` [PATCH] ntfs-3g: Update to version 2026.11.30 Adolf Belka
2026-12-05 20:16 ` [PATCH] openvpn: Update to version 2.7.10 Adolf Belka
2026-12-05 20:16 ` [PATCH] pam: Update to version 1.7.4 Adolf Belka
2026-12-05 20:16 ` [PATCH] samba: Update to version 4.25.2 Adolf Belka
2026-12-05 20:16 ` [PATCH] tshark: Update to version 5.0.0 Adolf Belka
2026-12-05 20:16 ` [PATCH] vim: Update to version 9.2.1470 Adolf Belka
2026-12-05 20:16 ` [PATCH] xz: Update to version 5.8.5 Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261205201625.2213794-7-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox