summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2021-05-10 13:44:04 +0200
committerKhem Raj <raj.khem@gmail.com>2021-05-11 08:27:27 -0700
commitca18e276d63e9fc6fece6a32e88959cbcf84c91b (patch)
treea1d3d59bd5b984262296b71b610e2d18b576e18b /meta-oe
parent40622feb2e25a0e1ec72f6fda473d6523c21a7cc (diff)
downloadmeta-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>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb.inc1
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch35
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 9833b2885..92e54d759 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 "
26SRC_URI_append_libc-musl = " file://ppc-remove-glibc-dep.patch" 27SRC_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 000000000..36c74d8f9
--- /dev/null
+++ b/meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch
@@ -0,0 +1,35 @@
1From fdd08a8774265618668c7f24697e138587c47a16 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Mon, 10 May 2021 13:35:54 +0200
4Subject: [PATCH] Fix configure by closing IF ELSE properly
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Fixes:
10| CMake Error at libmariadb/cmake/ConnectorName.cmake:30 (ENDMACRO):
11| Flow control statements are not properly nested.
12
13Upstream-Status: Pending
14
15Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
16---
17 libmariadb/cmake/ConnectorName.cmake | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/libmariadb/cmake/ConnectorName.cmake b/libmariadb/cmake/ConnectorName.cmake
21index 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--
342.30.2
35