diff options
Diffstat (limited to 'meta-oe/recipes-dbs/mysql')
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb.inc | 1 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index 2974341bfe..25e630a16a 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc | |||
@@ -22,6 +22,7 @@ SRC_URI = "https://downloads.mariadb.org/interstitial/${BP}/source/${BP}.tar.gz | |||
22 | file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \ | 22 | file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \ |
23 | file://sys_futex.patch \ | 23 | file://sys_futex.patch \ |
24 | file://cross-compiling.patch \ | 24 | file://cross-compiling.patch \ |
25 | file://ssize_t.patch \ | ||
25 | " | 26 | " |
26 | SRC_URI_append_libc-musl = " file://ppc-remove-glibc-dep.patch" | 27 | SRC_URI_append_libc-musl = " file://ppc-remove-glibc-dep.patch" |
27 | 28 | ||
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch b/meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch new file mode 100644 index 0000000000..4e499d4137 --- /dev/null +++ b/meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | ssize_t comes from sys/types.h therefore include it | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | --- a/wsrep-lib/include/wsrep/gtid.hpp | ||
6 | +++ b/wsrep-lib/include/wsrep/gtid.hpp | ||
7 | @@ -25,7 +25,7 @@ | ||
8 | #include "compiler.hpp" | ||
9 | |||
10 | #include <iosfwd> | ||
11 | - | ||
12 | +#include <sys/types.h> | ||
13 | /** | ||
14 | * Minimum number of bytes guaratneed to store GTID string representation, | ||
15 | * terminating '\0' not included (36 + 1 + 20). | ||