FreeBSD Bugzilla – Attachment 187750 Details for
Bug 223387
net-mgmt/nagios-plugins fails with databases/mariadb102-client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for net-mgmt/nagios-plugins
patch-net-mgmt_nagios-plugins-MariaDB-10.2 (text/plain), 1.45 KB, created by
Bernard Spil
on 2017-11-05 09:50:05 UTC
(
hide
)
Description:
svn diff for net-mgmt/nagios-plugins
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2017-11-05 09:50:05 UTC
Size:
1.45 KB
patch
obsolete
>Index: net-mgmt/nagios-plugins/files/patch-plugins_common.h >=================================================================== >--- net-mgmt/nagios-plugins/files/patch-plugins_common.h (nonexistent) >+++ net-mgmt/nagios-plugins/files/patch-plugins_common.h (working copy) >@@ -0,0 +1,30 @@ >+From 930ede8378245eb6bd31eaf1d9103f027df0f7a0 Mon Sep 17 00:00:00 2001 >+From: Bernard Spil <brnrd@FreeBSD.org> >+Date: Sun, 5 Nov 2017 10:43:56 +0100 >+Subject: [PATCH] plugins/common.h: Set default MySQL port >+ >+As of MariaDB 10.2 the headers for client no longer set the >+default MySQL port. Patch fixes this for any version of MariaDB >+or MySQL into the future. >+ >+See also: https://bugs.freebsd.org/223387 >+--- >+ plugins/common.h | 5 +++++ >+ 1 file changed, 5 insertions(+) >+ >+diff --git a/plugins/common.h b/plugins/common.h >+index 4a68506b..3d7fdd11 100644 >+--- plugins/common.h.orig 2017-01-19 16:01:31 UTC >++++ plugins/common.h >+@@ -168,6 +168,11 @@ >+ # endif >+ #endif >+ >++/* MariaDB 10.2 client does not set MYSQL_PORT */ >++#ifndef MYSQL_PORT >++# define MYSQL_PORT 3306 >++#endif >++ >+ /* >+ * >+ * Standard Values > >Property changes on: net-mgmt/nagios-plugins/files/patch-plugins_common.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
brnrd
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 223387
:
187724
| 187750