File: 30_ag_macros.m4_syntax_error.diff

package info (click to toggle)
autogen 1%3A5.18.16-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,112 kB
  • sloc: ansic: 24,878; sh: 14,624; makefile: 807; perl: 800; lisp: 128
file content (22 lines) | stat: -rw-r--r-- 829 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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