diff options
Diffstat (limited to 'meta/recipes-core/ncurses/files/exit_prototype.patch')
-rw-r--r-- | meta/recipes-core/ncurses/files/exit_prototype.patch | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/meta/recipes-core/ncurses/files/exit_prototype.patch b/meta/recipes-core/ncurses/files/exit_prototype.patch index 791421a338..fd961512e0 100644 --- a/meta/recipes-core/ncurses/files/exit_prototype.patch +++ b/meta/recipes-core/ncurses/files/exit_prototype.patch | |||
@@ -1,18 +1,28 @@ | |||
1 | Add needed headers for including mbstate_t and exit() | 1 | From 4a769a441d7e57a23017c3037cde3e53fb9f35fe Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 30 Aug 2022 15:58:32 -0700 | ||
4 | Subject: [PATCH] Add needed headers for including mbstate_t and exit() | ||
2 | 5 | ||
3 | Upstream-Status: Inappropriate [Reconfigure will solve it] | 6 | Upstream-Status: Inappropriate [Reconfigure will solve it] |
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
8 | |||
9 | --- | ||
10 | configure | 2 ++ | ||
11 | 1 file changed, 2 insertions(+) | ||
12 | |||
13 | diff --git a/configure b/configure | ||
14 | index f377f551..163f8899 100755 | ||
5 | --- a/configure | 15 | --- a/configure |
6 | +++ b/configure | 16 | +++ b/configure |
7 | @@ -3422,6 +3422,7 @@ rm -f "conftest.$ac_objext" "conftest.$a | 17 | @@ -3423,6 +3423,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" |
8 | cat >"conftest.$ac_ext" <<_ACEOF | 18 | cat >"conftest.$ac_ext" <<_ACEOF |
9 | #line 3423 "configure" | 19 | #line 3424 "configure" |
10 | #include "confdefs.h" | 20 | #include "confdefs.h" |
11 | +#include <stdlib.h> | 21 | +#include <stdlib.h> |
12 | $ac_declaration | 22 | $ac_declaration |
13 | int | 23 | int |
14 | main (void) | 24 | main (void) |
15 | @@ -12997,6 +12998,7 @@ cat >"conftest.$ac_ext" <<_ACEOF | 25 | @@ -13111,6 +13112,7 @@ cat >"conftest.$ac_ext" <<_ACEOF |
16 | #include <stdlib.h> | 26 | #include <stdlib.h> |
17 | #include <stdarg.h> | 27 | #include <stdarg.h> |
18 | #include <stdio.h> | 28 | #include <stdio.h> |