diff options
Diffstat (limited to 'meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch')
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/0002-Fix-configure-by-closing-IF-ELSE-properly.patch | 35 |
1 files changed, 35 insertions, 0 deletions
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 @@ | |||
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 | |||