[oe-commits] Koen Kooi : mariadb: move linker fix to .inc

git at git.openembedded.org git at git.openembedded.org
Sun Feb 23 22:13:58 UTC 2014


Module: meta-openembedded.git
Branch: master
Commit: 0d4dac81c62fab275be360bca44e43a49350ec6e
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=0d4dac81c62fab275be360bca44e43a49350ec6e

Author: Koen Kooi <koen.kooi at linaro.org>
Date:   Wed Feb 19 09:23:38 2014 +0100

mariadb: move linker fix to .inc

When using a recent cross-binutils you need this fix as well, so move it from -native to the .inc.

Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb | 3 ---
 meta-oe/recipes-support/mysql/mariadb_5.1.67.inc       | 4 +++-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb b/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb
index 15605d0..942afcc 100644
--- a/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb
+++ b/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb
@@ -9,9 +9,6 @@ PACKAGES = ""
 EXTRA_OEMAKE = ""
 EXTRA_OECONF = " --with-embedded-server "
 
-SRC_URI += "file://fix-link-error-ub1310.patch \
-"
-
 do_install() {
     oe_runmake 'DESTDIR=${D}' install
     mv -f ${D}${libdir}/mysql/* ${D}${libdir}
diff --git a/meta-oe/recipes-support/mysql/mariadb_5.1.67.inc b/meta-oe/recipes-support/mysql/mariadb_5.1.67.inc
index e311ed7..100b3a7 100644
--- a/meta-oe/recipes-support/mysql/mariadb_5.1.67.inc
+++ b/meta-oe/recipes-support/mysql/mariadb_5.1.67.inc
@@ -17,7 +17,9 @@ SRC_URI = "http://mirrors.coreix.net/mariadb/mariadb-${PV}/kvm-tarbake-jaunty-x8
            file://storage-forbids-absolute-addresses-on-IA-32.patch \
            file://my.cnf \
            file://mysqld.sh \
-           file://avoid-plugin-options-warnings.patch"
+           file://avoid-plugin-options-warnings.patch \
+           file://fix-link-error-ub1310.patch \
+          "
 
 SRC_URI[md5sum] = "44c331fa91943155e4796f89e17a0612"
 SRC_URI[sha256sum] = "33471e9275c9b03919cabc38eb39f807d645adabf6a1a18f2e41ed73f47677c8"



More information about the Openembedded-commits mailing list