summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mysql
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2014-01-03 22:59:23 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-01-10 12:20:18 +0100
commit097c6ede903dc0327ecaa4c0d03752b8d77d0d48 (patch)
tree9d392e03570f056934f9ccb54c28f6ed2584b5b0 /meta-oe/recipes-support/mysql
parentc9236a3665494fb53f8ab46cdf51007bebde7f3e (diff)
downloadmeta-openembedded-097c6ede903dc0327ecaa4c0d03752b8d77d0d48.tar.gz
mariadb: Add patch to fix urecognized options
Add patch to tell autoconf about with-plugin option. In this way we avoid warnings like: configure: WARNING: unrecognized options: --with-plugin-maria Change-Id: Id64ac01d7f2072e1bca8979c5da3e8c6520105cb Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/mysql')
-rw-r--r--meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch17
-rw-r--r--meta-oe/recipes-support/mysql/mariadb_5.1.67.inc3
2 files changed, 19 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch b/meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch
new file mode 100644
index 000000000..84ff6f023
--- /dev/null
+++ b/meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch
@@ -0,0 +1,17 @@
1Tell autoconf about with-plugin option to avoid warnings like:
2configure: WARNING: unrecognized options: --with-plugin-maria
3
4Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
5
6Index: mariadb-5.1.67/config/ac-macros/plugins.m4
7===================================================================
8--- mariadb-5.1.67.orig/config/ac-macros/plugins.m4
9+++ mariadb-5.1.67/config/ac-macros/plugins.m4
10@@ -38,6 +38,7 @@ AC_DEFUN([_MYSQL_PLUGIN],[
11 _MYSQL_PLUGAPPEND([__mysql_plugin_list__],[$1])
12 m4_define([MYSQL_PLUGIN_NAME_]AS_TR_CPP([$1]), [$3])
13 m4_define([MYSQL_PLUGIN_DESC_]AS_TR_CPP([$1]), [$4])
14+ m4_ifdef([_AC_ENABLE_IF], [_AC_ENABLE_IF([with],[plugin-$1])])
15 _MYSQL_PLUGAPPEND_META([$1], $5)
16 ifelse(m4_bregexp(__mysql_include__,[/plug\.in$]),-1,[],[
17 MYSQL_PLUGIN_DIRECTORY([$1],
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 7cedd9e41..e311ed70f 100644
--- a/meta-oe/recipes-support/mysql/mariadb_5.1.67.inc
+++ b/meta-oe/recipes-support/mysql/mariadb_5.1.67.inc
@@ -16,7 +16,8 @@ SRC_URI = "http://mirrors.coreix.net/mariadb/mariadb-${PV}/kvm-tarbake-jaunty-x8
16 file://zlib-let-libdir-configurable.patch \ 16 file://zlib-let-libdir-configurable.patch \
17 file://storage-forbids-absolute-addresses-on-IA-32.patch \ 17 file://storage-forbids-absolute-addresses-on-IA-32.patch \
18 file://my.cnf \ 18 file://my.cnf \
19 file://mysqld.sh" 19 file://mysqld.sh \
20 file://avoid-plugin-options-warnings.patch"
20 21
21SRC_URI[md5sum] = "44c331fa91943155e4796f89e17a0612" 22SRC_URI[md5sum] = "44c331fa91943155e4796f89e17a0612"
22SRC_URI[sha256sum] = "33471e9275c9b03919cabc38eb39f807d645adabf6a1a18f2e41ed73f47677c8" 23SRC_URI[sha256sum] = "33471e9275c9b03919cabc38eb39f807d645adabf6a1a18f2e41ed73f47677c8"