diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2021-05-10 13:44:04 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-05-11 08:27:27 -0700 |
| commit | ca18e276d63e9fc6fece6a32e88959cbcf84c91b (patch) | |
| tree | a1d3d59bd5b984262296b71b610e2d18b576e18b | |
| parent | 40622feb2e25a0e1ec72f6fda473d6523c21a7cc (diff) | |
| download | meta-openembedded-ca18e276d63e9fc6fece6a32e88959cbcf84c91b.tar.gz | |
mariadb: Fix configure
Assume recent CMake upgrade made this pop up.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -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 | |||
