1 |
commit: 2ef169446e02036bf602c627666a9a3c2927232e |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 10 14:26:01 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 10 14:26:01 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=2ef16944 |
7 |
|
8 |
Add patch for mariadb to build without the server |
9 |
|
10 |
20034_all_mariadb-10.0.30-fix-without-server.patch | 13 +++++++++++++ |
11 |
1 file changed, 13 insertions(+) |
12 |
|
13 |
diff --git a/20034_all_mariadb-10.0.30-fix-without-server.patch b/20034_all_mariadb-10.0.30-fix-without-server.patch |
14 |
new file mode 100644 |
15 |
index 0000000..a207117 |
16 |
--- /dev/null |
17 |
+++ b/20034_all_mariadb-10.0.30-fix-without-server.patch |
18 |
@@ -0,0 +1,13 @@ |
19 |
+diff -aruN a/include/my_sys.h b/include/my_sys.h |
20 |
+--- a/include/my_sys.h 2017-03-09 16:09:17.630156658 -0500 |
21 |
++++ b/include/my_sys.h 2017-03-09 16:05:43.560021093 -0500 |
22 |
+@@ -597,6 +597,9 @@ |
23 |
+ myf MyFlags); |
24 |
+ extern int my_rename_with_symlink(const char *from,const char *to,myf MyFlags); |
25 |
+ extern int my_symlink(const char *content, const char *linkname, myf MyFlags); |
26 |
++#ifndef PSI_file_key |
27 |
++typedef unsigned int PSI_file_key; |
28 |
++#endif |
29 |
+ extern int my_handler_delete_with_symlink(PSI_file_key key, const char *name, |
30 |
+ const char *ext, myf sync_dir); |
31 |
+ extern size_t my_read(File Filedes,uchar *Buffer,size_t Count,myf MyFlags); |