1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Fix build with MariaDB 10.2.

PR:		223424
Submitted by:	brnrd
Reported by:	Matthias Fechner
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-11-07 15:48:11 +00:00
parent b49d1821dc
commit fd08254023
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453666

View File

@ -0,0 +1,14 @@
--- plugins/common.h.orig 2016-11-29 08:45:08 UTC
+++ plugins/common.h
@@ -174,6 +174,11 @@
*
*/
+/* MariaDB 10.2 client does not set MYSQL_PORT */
+#ifndef MYSQL_PORT
+# define MYSQL_PORT 3306
+#endif
+
enum {
OK = 0,
ERROR = -1