summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-03-10 09:26:01 -0500
committerBrian Evans <grknight@gentoo.org>2017-03-10 09:26:01 -0500
commit2ef169446e02036bf602c627666a9a3c2927232e (patch)
tree7071cad2d58be284f17682d5c21b94787968f12f
parentRespin elib patch for mysql 5.6.35 (diff)
downloadmysql-extras-2ef169446e02036bf602c627666a9a3c2927232e.tar.gz
mysql-extras-2ef169446e02036bf602c627666a9a3c2927232e.tar.bz2
mysql-extras-2ef169446e02036bf602c627666a9a3c2927232e.zip
Add patch for mariadb to build without the servermysql-extras-20170310-1426Z
-rw-r--r--20034_all_mariadb-10.0.30-fix-without-server.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/20034_all_mariadb-10.0.30-fix-without-server.patch b/20034_all_mariadb-10.0.30-fix-without-server.patch
new file mode 100644
index 0000000..a207117
--- /dev/null
+++ b/20034_all_mariadb-10.0.30-fix-without-server.patch
@@ -0,0 +1,13 @@
+diff -aruN a/include/my_sys.h b/include/my_sys.h
+--- a/include/my_sys.h 2017-03-09 16:09:17.630156658 -0500
++++ b/include/my_sys.h 2017-03-09 16:05:43.560021093 -0500
+@@ -597,6 +597,9 @@
+ myf MyFlags);
+ extern int my_rename_with_symlink(const char *from,const char *to,myf MyFlags);
+ extern int my_symlink(const char *content, const char *linkname, myf MyFlags);
++#ifndef PSI_file_key
++typedef unsigned int PSI_file_key;
++#endif
+ extern int my_handler_delete_with_symlink(PSI_file_key key, const char *name,
+ const char *ext, myf sync_dir);
+ extern size_t my_read(File Filedes,uchar *Buffer,size_t Count,myf MyFlags);