diff options
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb.inc | 1 | ||||
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index 9833b28857..92e54d7592 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-innobase-Define-__NR_futex-if-it-does-not-exist.patch \ | 22 | file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \ |
| 23 | file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \ | 23 | file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \ |
| 24 | file://sys_futex.patch \ | 24 | file://sys_futex.patch \ |
| 25 | file://0002-Fix-configure-by-closing-IF-ELSE-properly.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/0002-Fix-configure-by-closing-IF-ELSE-properly.patch b/meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch new file mode 100644 index 0000000000..36c74d8f94 --- /dev/null +++ b/meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From fdd08a8774265618668c7f24697e138587c47a16 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
| 3 | Date: Mon, 10 May 2021 13:35:54 +0200 | ||
| 4 | Subject: [PATCH] Fix configure by closing IF ELSE properly | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Fixes: | ||
| 10 | | CMake Error at libmariadb/cmake/ConnectorName.cmake:30 (ENDMACRO): | ||
| 11 | | Flow control statements are not properly nested. | ||
| 12 | |||
| 13 | Upstream-Status: Pending | ||
| 14 | |||
| 15 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
| 16 | --- | ||
| 17 | libmariadb/cmake/ConnectorName.cmake | 2 +- | ||
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 19 | |||
| 20 | diff --git a/libmariadb/cmake/ConnectorName.cmake b/libmariadb/cmake/ConnectorName.cmake | ||
| 21 | index b7bbbad..357b8ac 100644 | ||
| 22 | --- a/libmariadb/cmake/ConnectorName.cmake | ||
| 23 | +++ b/libmariadb/cmake/ConnectorName.cmake | ||
| 24 | @@ -22,7 +22,7 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows") | ||
| 25 | SET(MACHINE_NAME "x64") | ||
| 26 | ELSE() | ||
| 27 | SET(MACHINE_NAME "32") | ||
| 28 | - END() | ||
| 29 | + ENDIF() | ||
| 30 | ENDIF() | ||
| 31 | |||
| 32 | SET(product_name "mysql-connector-c-${CPACK_PACKAGE_VERSION}-${PLATFORM_NAME}${CONCAT_SIGN}${MACHINE_NAME}") | ||
| 33 | -- | ||
| 34 | 2.30.2 | ||
| 35 | |||
