Files
Paul Eggleton 72e23c1229 mysql5: replace with mariadb 5.1.67 and tweak
Switch to MariaDB (which is a drop-in replacement for MySQL) and use
the latest stable release from the 5.1 series.

* Update LIC_FILES_CHKSUM due to reformatted GPLv2 license text with
  updated FSF address
* Refresh patches
* Add two patches from the upstream 5.1 branch to fix CVE-2013-1861
* Add a package for libmysqld (the embedded server library)
* Disable "maria" plugin since this fails to compile and doesn't
  appear to be critical
* Drop some unrecognised/redundant options from EXTRA_OECONF
* Fix text relocation QA warnings introduced in the upgrade
* Convert to use useradd.bbclass for creating mysql user
* Set SUMMARY instead of description
* Move SRC_URI checksums to the version-specific inc file
* Clear out cruft in files/

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-27 16:39:31 +01:00

20 lines
678 B
Diff

Index: mysql-5.1.40/sql/Makefile.am
===================================================================
--- mysql-5.1.40.orig/sql/Makefile.am
+++ mysql-5.1.40/sql/Makefile.am
@@ -174,10 +174,10 @@ link_sources:
# This generates lex_hash.h
# NOTE Built sources should depend on their sources not the tool
# this avoid the rebuild of the built files in a source dist
-lex_hash.h: gen_lex_hash.cc lex.h
- $(MAKE) $(AM_MAKEFLAGS) gen_lex_hash$(EXEEXT)
- ./gen_lex_hash$(EXEEXT) > $@-t
- $(MV) $@-t $@
+GEN_LEX_HASH = ./gen_lex_hash$(EXEEXT)
+
+lex_hash.h: gen_lex_hash$(EXEEXT)
+ $(GEN_LEX_HASH) > $@
# For testing of udf_example.so
udf_example_la_SOURCES= udf_example.c