diff options
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf/backports/0001-mention-prototypes-more-prominently-in-NEWS.patch')
-rw-r--r-- | meta/recipes-devtools/autoconf/autoconf/backports/0001-mention-prototypes-more-prominently-in-NEWS.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf/backports/0001-mention-prototypes-more-prominently-in-NEWS.patch b/meta/recipes-devtools/autoconf/autoconf/backports/0001-mention-prototypes-more-prominently-in-NEWS.patch new file mode 100644 index 0000000000..3faf6f0a81 --- /dev/null +++ b/meta/recipes-devtools/autoconf/autoconf/backports/0001-mention-prototypes-more-prominently-in-NEWS.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 5ffc09fca39de051537fbebd7c6c33d5255a520f Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Eggert <eggert@cs.ucla.edu> | ||
3 | Date: Mon, 27 Mar 2023 18:10:36 -0700 | ||
4 | Subject: [PATCH 01/29] mention prototypes more prominently in NEWS | ||
5 | |||
6 | * NEWS: Mention the function prototype issue early. | ||
7 | (From a suggestion by Zack Weinberg.) | ||
8 | |||
9 | Upstream-Status: Backport | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | NEWS | 8 ++++++++ | ||
13 | 1 file changed, 8 insertions(+) | ||
14 | |||
15 | diff --git a/NEWS b/NEWS | ||
16 | index cf01ee210..d64648c6f 100644 | ||
17 | --- a/NEWS | ||
18 | +++ b/NEWS | ||
19 | @@ -4,6 +4,14 @@ GNU Autoconf NEWS - User visible changes. | ||
20 | |||
21 | ** Backward incompatibilities | ||
22 | |||
23 | +*** AC_CHECK_FUNC and similar macros now use function prototypes. | ||
24 | + AC_CHECK_FUNC and and similar macros now use C declarations with | ||
25 | + function prototypes, a feature introduced in C89. The new approach | ||
26 | + should work better with C23, which removed the non-prototyped K&R | ||
27 | + style that AC_CHECK_FUNC previously used. However, this change | ||
28 | + means Autoconf no longer supports pre-1989 C compilers, as they do | ||
29 | + not support function prototypes. | ||
30 | + | ||
31 | *** Autoconf now requires perl 5.10 (2007) or later. | ||
32 | Generated 'configure' scripts continue to run without perl. | ||
33 | |||
34 | -- | ||
35 | 2.41.0 | ||
36 | |||