mcst-linux-kernel/patches-2024.06.26/autogen-5.18.16/0003-ag-macros-m4-syntax-er...

23 lines
829 B
Diff
Raw Permalink Normal View History

2024-07-09 13:51:45 +03:00
Description: Fix syntax error (missing comma) in AC_RUN_IFELSE.
This bug causes arguments to be shifted. With the bug,
presence of strcspn is misdetected everywhere and for cross
compilation, the build simply fails.
Author: Helmut Grohne <helmut@subdivi.de>
Origin: vendor
Bug-Debian: https://bugs.debian.org/941025
Forwarded: no
Reviewed-By: Andreas Metzler <ametzler@debian.org>
Last-Update: 2019-10-05
--- autogen-5.18.16.orig/config/ag_macros.m4
+++ autogen-5.18.16/config/ag_macros.m4
@@ -428,7 +428,7 @@ int main (int argc, char ** argv) {
char zRej@<:@@:>@ = reject;
char zAcc@<:@@:>@ = "a-ok-eject";
return strcspn( zAcc, zRej ) - 5;
-}] )]
+}] )],
[ag_cv_run_strcspn=yes],[ag_cv_run_strcspn=no],[ag_cv_run_strcspn=no]
) # end of RUN_IFELSE
]) # end of AC_CACHE_VAL for ag_cv_run_strcspn