mariadb: Patch to compile on OS X.
mariadb: Remove extraneous files; patch basedir in mysql_install_db.