summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch
diff options
context:
space:
mode:
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.patch26
1 files changed, 0 insertions, 26 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
deleted file mode 100644
index daf2432a54..0000000000
--- a/meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From b658bdb38b7ff6a78915fd0ac390fc224e4006cb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 26 Mar 2017 14:30:33 -0700
4Subject: [PATCH] disable ucontext on musl
5
6musl does not have *contex() APIs even though it has ucontext.h header
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
10---
11 include/my_context.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/include/my_context.h b/include/my_context.h
15index ea0e3496..4c9b37dc 100644
16--- a/include/my_context.h
17+++ b/include/my_context.h
18@@ -31,7 +31,7 @@
19 #define MY_CONTEXT_USE_X86_64_GCC_ASM
20 #elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__)
21 #define MY_CONTEXT_USE_I386_GCC_ASM
22-#elif defined(HAVE_UCONTEXT_H)
23+#elif defined(__GLIBC__) && defined(HAVE_UCONTEXT_H)
24 #define MY_CONTEXT_USE_UCONTEXT
25 #else
26 #define MY_CONTEXT_DISABLE