From: Michael Pratt Date: Fri, 8 Aug 2025 04:58:56 +0000 (-0400) Subject: tools: gnulib: always use std-gnu23 module X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a808086826a75976947fc38ad0c58b20e398f7b9;p=thirdparty%2Fopenwrt.git tools: gnulib: always use std-gnu23 module The new "std-gnu23" module has the stated goal of: "...to update the c99 module to depend on std-gnu23 instead of on std-gnu11, and to make std-gnu11 obsolete." in upstream commit 8990abb50 ("std-gnu23: new module"). However, for now, it's design is optional, so that definitions of the latest standard module overrides the former. At some point, upstream gnulib will replace the dependency instead of add it alongside the older one. Because all macros are copied to the aclocal directory, for complex projects, not including the module may cause the macros to apply only to some subdirectories rather than all of them and top-level together. For projects that import source from local gnulib, always include the std-gnu23.m4 macros for consistency. Signed-off-by: Michael Pratt Link: https://github.com/openwrt/openwrt/pull/19748 Signed-off-by: Robert Marko --- diff --git a/tools/gnulib/patches/195-c99-use-std-gnu23.patch b/tools/gnulib/patches/195-c99-use-std-gnu23.patch new file mode 100644 index 00000000000..11c2f3297cc --- /dev/null +++ b/tools/gnulib/patches/195-c99-use-std-gnu23.patch @@ -0,0 +1,10 @@ +--- a/modules/c99 ++++ b/modules/c99 +@@ -5,6 +5,7 @@ Files: + + Depends-on: + std-gnu11 ++std-gnu23 + + configure.ac: +