diff options
author | Sam James <sam@gentoo.org> | 2024-01-22 11:50:12 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-22 11:50:12 +0000 |
commit | d7dbfacbf92767bfa5aa46c9cc7ee12dcbcc558f (patch) | |
tree | 3c9df2289b700cb71c31aa385c2f9b12cd8003c0 /dev-build/autoconf/files | |
parent | sys-apps/asahi-startup-disk: new package, add 0.1.3 (diff) | |
download | gentoo-d7dbfacbf92767bfa5aa46c9cc7ee12dcbcc558f.tar.gz gentoo-d7dbfacbf92767bfa5aa46c9cc7ee12dcbcc558f.tar.bz2 gentoo-d7dbfacbf92767bfa5aa46c9cc7ee12dcbcc558f.zip |
dev-build/autoconf: skip AC_FUNC_GETLOADAVG test for 2.13
The macro itself is broken in autoconf-2.13 but this is caused by newer kernels
etc rather than anything else. Very, very few packages use autoconf-2.13, let
alone AC_FUNC_GETLOADAVG, so not going to worry about it much.
Do as Fedora and Debian do and skip the test for it.
Closes: https://bugs.gentoo.org/406723
Closes: https://bugs.gentoo.org/677926
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-build/autoconf/files')
-rw-r--r-- | dev-build/autoconf/files/autoconf-2.13-skip-AC_FUNC_GETLOADAVG-test.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-build/autoconf/files/autoconf-2.13-skip-AC_FUNC_GETLOADAVG-test.patch b/dev-build/autoconf/files/autoconf-2.13-skip-AC_FUNC_GETLOADAVG-test.patch new file mode 100644 index 000000000000..280578ac6b0a --- /dev/null +++ b/dev-build/autoconf/files/autoconf-2.13-skip-AC_FUNC_GETLOADAVG-test.patch @@ -0,0 +1,20 @@ +The macro itself is broken in autoconf-2.13 but this is caused by newer kernels +etc rather than anything else. Very, very few packages use autoconf-2.13, let +alone AC_FUNC_GETLOADAVG, so not going to worry about it much. + +Do as Fedora and Debian do and skip the test for it. + +https://bugs.gentoo.org/406723 +https://bugs.gentoo.org/677926 +--- a/testsuite/autoconf.s/syntax.exp ++++ b/testsuite/autoconf.s/syntax.exp +@@ -2,7 +2,8 @@ + + send_user "Checking for syntax errors in the specific tests...\n" + set script {s/^AC_DEFUN(\([^,]*\).*/\1/p} +-set macros [exec sed -n $script $srcdir/../acspecific.m4] ++# XXX: AC_FUNC_GETLOADAVG skipped for bug #406723, bug #677926 ++set macros [exec sed -n $script $srcdir/../acspecific.m4 | grep -v AC_FUNC_GETLOADAVG] + + foreach mac $macros { + if { [string match "*F77*" "$mac"] && [catch {exec which g77} ignore_output] } then { |