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:
parent
b49d1821dc
commit
fd08254023
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453666
14
net-mgmt/monitoring-plugins/files/patch-plugins_common.h
Normal file
14
net-mgmt/monitoring-plugins/files/patch-plugins_common.h
Normal 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
|
Loading…
Reference in New Issue
Block a user