Skip to contentSkip to conversation

mariadb: Add patch to fix urecognized options

PATCH New Andrei Gherzan 1 participant 3 messages Jan 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 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
---
 .../mysql/mariadb/avoid-plugin-options-warnings.patch   | 17 +++++++++++++++++
 meta-oe/recipes-support/mysql/mariadb_5.1.67.inc        |  3 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch
meta-oe/recipes-support/mysql/mariadb/avoid-plugin-options-warnings.patch new file +17 -0
new file mode 100644
index 0000000..84ff6f0
@@ -0,0 +1,17 @@
+Tell autoconf about with-plugin option to avoid warnings like:
+configure: WARNING: unrecognized options: --with-plugin-maria
+
+Signed-off-by: Andrei Gherzan <[email protected]>
+
+Index: mariadb-5.1.67/config/ac-macros/plugins.m4
+===================================================================
+--- mariadb-5.1.67.orig/config/ac-macros/plugins.m4
++++ mariadb-5.1.67/config/ac-macros/plugins.m4
+@@ -38,6 +38,7 @@ AC_DEFUN([_MYSQL_PLUGIN],[
+   _MYSQL_PLUGAPPEND([__mysql_plugin_list__],[$1])
+   m4_define([MYSQL_PLUGIN_NAME_]AS_TR_CPP([$1]), [$3])
+   m4_define([MYSQL_PLUGIN_DESC_]AS_TR_CPP([$1]), [$4])
++  m4_ifdef([_AC_ENABLE_IF], [_AC_ENABLE_IF([with],[plugin-$1])])
+   _MYSQL_PLUGAPPEND_META([$1], $5)
+   ifelse(m4_bregexp(__mysql_include__,[/plug\.in$]),-1,[],[
+      MYSQL_PLUGIN_DIRECTORY([$1],
meta-oe/recipes-support/mysql/mariadb_5.1.67.inc +2 -1
index 7cedd9e..e311ed7 100644
@@ -16,7 +16,8 @@ SRC_URI = "http://mirrors.coreix.net/mariadb/mariadb-${PV}/kvm-tarbake-jaunty-x8
            file://zlib-let-libdir-configurable.patch \
            file://storage-forbids-absolute-addresses-on-IA-32.patch \
            file://my.cnf \
-           file://mysqld.sh"
+           file://mysqld.sh \
+           file://avoid-plugin-options-warnings.patch"
 
 SRC_URI[md5sum] = "44c331fa91943155e4796f89e17a0612"
 SRC_URI[sha256sum] = "33471e9275c9b03919cabc38eb39f807d645adabf6a1a18f2e41ed73f47677c8"
Signature · 1 line
1.8.1.4
#1 lore raw

PATCH 2/3 samba: Fix unrecognised with-libdir options

Remove with-libdir as there is no such option and set libdir with --libdir.

Change-Id Ida67c0c92d19ccc339f16c504055daa8c0d7208a
---
 meta-oe/recipes-connectivity/samba/samba.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/samba/samba.inc +1 -1
index 7391bbf..87352a1 100644
@@ -29,7 +29,7 @@ EXTRA_OECONF='--disable-cups \
               --with-lockdir=${localstatedir}/lock \
               --with-piddir=${localstatedir}/run \
               --with-logfilebase=${localstatedir}/log \
-              --with-libdir=${libdir} \
+              --libdir=${libdir} \
               --with-mandir=${mandir} \
               --with-swatdir=${datadir}/swat \
               --with-aio-support \
Signature · 1 line
1.8.1.4
#2 lore raw

PATCH 3/3 libass: Remove unrecognised --enable-png options

In reply to Andrei Gherzan
Change-Id Ib748bfbd3437e3cfdeaba7283b99aa55ad479a6a
---
 meta-oe/recipes-multimedia/libass/libass.inc | 1 -
 1 file changed, 1 deletion(-)
meta-oe/recipes-multimedia/libass/libass.inc +0 -1
index a0dc564..64405ff 100644
@@ -19,7 +19,6 @@ PACKAGECONFIG[harfbuzz] = "--enable-harfbuzz,--disable-harfbuzz,harfbuzz"
 EXTRA_OECONF = " \
     --enable-enca \
     --enable-fontconfig \
-    --enable-png \
 "
 
 PACKAGES =+ "${PN}-tests"
Signature · 1 line
1.8.1.4