diff options
Diffstat (limited to 'meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch')
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch b/meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch deleted file mode 100644 index a590a3fa36..0000000000 --- a/meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | From 76e4c3e8d001eaaabd0fb34c136b81b82830c420 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 15 Jun 2021 22:48:07 -0700 | ||
4 | Subject: [PATCH] mariadb: Fix build with clang/musl | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | --- | ||
8 | storage/rocksdb/rocksdb/port/jemalloc_helper.h | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/storage/rocksdb/rocksdb/port/jemalloc_helper.h b/storage/rocksdb/rocksdb/port/jemalloc_helper.h | ||
12 | index f6f72f8c..b9657cf3 100644 | ||
13 | --- a/storage/rocksdb/rocksdb/port/jemalloc_helper.h | ||
14 | +++ b/storage/rocksdb/rocksdb/port/jemalloc_helper.h | ||
15 | @@ -5,7 +5,7 @@ | ||
16 | |||
17 | #pragma once | ||
18 | |||
19 | -#if defined(__clang__) | ||
20 | +#if defined(__clang__) && defined(__GLIBC__) | ||
21 | // glibc's `posix_memalign()` declaration specifies `throw()` while clang's | ||
22 | // declaration does not. There is a hack in clang to make its re-declaration | ||
23 | // compatible with glibc's if they are declared consecutively. That hack breaks | ||