diff options
author | Armin Kuster <akuster808@gmail.com> | 2017-10-26 13:25:43 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-03-01 16:10:35 -0800 |
commit | 31f337c1af1223ca5e973f31c0cbc3599393e322 (patch) | |
tree | 45c12b18ca36312b5255a91eee9ff299dc717e31 /meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch | |
parent | 036b3e794650cfc92f2f983d860ce93575198b57 (diff) | |
download | meta-openembedded-31f337c1af1223ca5e973f31c0cbc3599393e322.tar.gz |
mysql: move to recipes-dbs
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch')
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch new file mode 100644 index 0000000000..60e9199f95 --- /dev/null +++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 5bc3e7ef9700d12054e0125a126f1bb093f01ef9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 26 Mar 2017 14:30:33 -0700 | ||
4 | Subject: [PATCH] disable ucontext on musl | ||
5 | |||
6 | musl does not have *contex() APIs even though it has ucontext.h header | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | include/my_context.h | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/include/my_context.h b/include/my_context.h | ||
14 | index dd44103..9b28c17 100644 | ||
15 | --- a/include/my_context.h | ||
16 | +++ b/include/my_context.h | ||
17 | @@ -31,7 +31,7 @@ | ||
18 | #define MY_CONTEXT_USE_X86_64_GCC_ASM | ||
19 | #elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__) | ||
20 | #define MY_CONTEXT_USE_I386_GCC_ASM | ||
21 | -#elif defined(HAVE_UCONTEXT_H) | ||
22 | +#elif defined(__GLIBC__) && defined(HAVE_UCONTEXT_H) | ||
23 | #define MY_CONTEXT_USE_UCONTEXT | ||
24 | #else | ||
25 | #define MY_CONTEXT_DISABLE | ||
26 | -- | ||
27 | 2.12.1 | ||
28 | |||