mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-08-07 00:06:58 +02:00
Bump to the next stable branch with the May 2025 update. Add a patch to compensate for gnulib-tool being further split up into independent shell and python implementations by using a non-hidden version of the main.py file. Add a patch for the python implementation of gnulib-tool in order to ignore the required version of autoconf in configure.ac being lower than the required version of autoconf for gnulib if the version that is being run exceeds the required version for both, and adjust existing autoconf version shell script patch to new filename. Backport a patch for a change in function naming convention for forward compatibility with tool releases after this stable branch. Added: - 020-python-version.patch - 021-python-main.patch - 500-acl-function-name.patch Manually Adjusted: - 010-autoconf-version.patch - 160-flag-reallocarray.patch Existing patches are automatically refreshed. Signed-off-by: Michael Pratt <mcpratt@pm.me> Link: https://github.com/openwrt/openwrt/pull/16522 Signed-off-by: Robert Marko <robimarko@gmail.com>
16 lines
480 B
Diff
16 lines
480 B
Diff
--- /dev/null
|
|
+++ b/gnulib-tool-main.py
|
|
@@ -0,0 +1,4 @@
|
|
+from pygnulib import main
|
|
+
|
|
+if __name__ == '__main__':
|
|
+ main.main_with_exception_handling()
|
|
--- a/gnulib-tool.py
|
|
+++ b/gnulib-tool.py
|
|
@@ -157,4 +157,4 @@ fi
|
|
profiler_args=
|
|
# For profiling, cf. <https://docs.python.org/3/library/profile.html>.
|
|
#profiler_args="-m cProfile -s tottime"
|
|
-exec python3 $profiler_args "$gnulib_dir/.gnulib-tool.py" "$@"
|
|
+exec python3 $profiler_args "$gnulib_dir/gnulib-tool-main.py" "$@"
|