aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mysql/mariadb/revert-fix-for-MDEV-5120.patch
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2014-11-18 17:54:36 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-11-24 11:59:51 +0100
commit6db864c93193c6e353ef37160e8ff1bcfb8f5337 (patch)
treec7cdb66bb0e276381ba63a08a11006abe5fd26b5 /meta-oe/recipes-support/mysql/mariadb/revert-fix-for-MDEV-5120.patch
parent7813f6d7b7a7abe70a8c8e0409f764d77af4a0b5 (diff)
downloadmeta-openembedded-contrib-6db864c93193c6e353ef37160e8ff1bcfb8f5337.tar.gz
mariadb: Update from version 5.5.39 to 5.5.40
* rename mariadb_5.5.39.inc -> mariadb.inc * add dependency bision-native for mariadb-native * add revert-fix-for-MDEV-5120.patch to revert an commit for mariadb test suite which causes packages mysql-python and modphp fail to build * add PACKAGECONFIG 'libedit' Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/mysql/mariadb/revert-fix-for-MDEV-5120.patch')
-rw-r--r--meta-oe/recipes-support/mysql/mariadb/revert-fix-for-MDEV-5120.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mysql/mariadb/revert-fix-for-MDEV-5120.patch b/meta-oe/recipes-support/mysql/mariadb/revert-fix-for-MDEV-5120.patch
new file mode 100644
index 0000000000..41493a1c56
--- /dev/null
+++ b/meta-oe/recipes-support/mysql/mariadb/revert-fix-for-MDEV-5120.patch
@@ -0,0 +1,46 @@
+Revert mariadb commit revno 4300 in branch 5.5 which fixes
+https://mariadb.atlassian.net/browse/MDEV-5120.
+
+------------------------------------------------------------
+revno: 4300
+fixes bug: https://mariadb.atlassian.net/browse/MDEV-5120
+committer: Sergei Golubchik <sergii@pisem.net>
+branch nick: 5.5
+timestamp: Thu 2014-10-02 11:57:40 +0200
+message:
+ MDEV-5120 Test suite test maria-no-logging fails
+
+ stat structure (from <sys/stat.h>) is conditionally defined
+ to have different layout and size depending on the defined macros.
+ The correct macro is defined in my_config.h, which means it MUST be
+ included first (or, at least before <features.h> - so, practically,
+ before including any system headers).
+------------------------------------------------------------
+
+It causes modphp fails to build. Bug MDEV-5120 is an test suite test
+maria-no-logging fails. There is no side effect to revert it.
+
+Upstream-Status: Backport
+
+Signed-off-by: Kai Kang <kai.kang@windriver.com>
+---
+--- mariadb-5.5.40/config.h.cmake.orig 2014-11-13 14:23:50.868147145 +0800
++++ mariadb-5.5.40/config.h.cmake 2014-11-13 14:24:23.372148031 +0800
+@@ -641,17 +641,4 @@
+ #cmakedefine SIZEOF_TIME_T @SIZEOF_TIME_T@
+ #cmakedefine TIME_T_UNSIGNED @TIME_T_UNSIGNED@
+
+-/*
+- stat structure (from <sys/stat.h>) is conditionally defined
+- to have different layout and size depending on the defined macros.
+- The correct macro is defined in my_config.h, which means it MUST be
+- included first (or at least before <features.h> - so, practically,
+- before including any system headers).
+-
+- __GLIBC__ is defined in <features.h>
+-*/
+-#ifdef __GLIBC__
+-#error <my_config.h> MUST be included first!
+-#endif
+-
+ #endif