diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/wvdial/wvstreams/0003-wvtask-Check-for-HAVE_LIBC_STACK_END-only-on-glibc-s.patch')
-rw-r--r-- | meta-oe/recipes-connectivity/wvdial/wvstreams/0003-wvtask-Check-for-HAVE_LIBC_STACK_END-only-on-glibc-s.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams/0003-wvtask-Check-for-HAVE_LIBC_STACK_END-only-on-glibc-s.patch b/meta-oe/recipes-connectivity/wvdial/wvstreams/0003-wvtask-Check-for-HAVE_LIBC_STACK_END-only-on-glibc-s.patch new file mode 100644 index 000000000..f9304197a --- /dev/null +++ b/meta-oe/recipes-connectivity/wvdial/wvstreams/0003-wvtask-Check-for-HAVE_LIBC_STACK_END-only-on-glibc-s.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From f1fc9f4d523dd8b773a4535176547b0619ec05c6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 20 Jul 2017 21:08:57 -0700 | ||
4 | Subject: [PATCH 3/5] wvtask: Check for HAVE_LIBC_STACK_END only on glibc | ||
5 | systems | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | utils/wvtask.cc | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/utils/wvtask.cc b/utils/wvtask.cc | ||
13 | index c0bff7d..716344b 100644 | ||
14 | --- a/utils/wvtask.cc | ||
15 | +++ b/utils/wvtask.cc | ||
16 | @@ -563,7 +563,7 @@ void WvTaskMan::do_task() | ||
17 | |||
18 | const void *WvTaskMan::current_top_of_stack() | ||
19 | { | ||
20 | -#ifdef HAVE_LIBC_STACK_END | ||
21 | +#if defined(HAVE_LIBC_STACK_END) && defined(__GLIBC__) | ||
22 | extern const void *__libc_stack_end; | ||
23 | if (use_shared_stack() || current_task == NULL) | ||
24 | return __libc_stack_end; | ||
25 | -- | ||
26 | 2.13.3 | ||
27 | |||