svn commit: r524682 - head/mail/opensmtpd-extras/files
Dima Panov
fluffy at FreeBSD.org
Fri Jan 31 09:07:49 UTC 2020
Author: fluffy
Date: Fri Jan 31 09:07:49 2020
New Revision: 524682
URL: https://svnweb.freebsd.org/changeset/ports/524682
Log:
mail/opensmtpd-extras: extend mysql80 patch to cover fresh mariadb too
PR: 243749
Reported by: Vikash Badal
Obtained from: OpenSMTPd repo
MFH: 2020Q1
Modified:
head/mail/opensmtpd-extras/files/patch-git6d424d2
Modified: head/mail/opensmtpd-extras/files/patch-git6d424d2
==============================================================================
--- head/mail/opensmtpd-extras/files/patch-git6d424d2 Fri Jan 31 08:59:52 2020 (r524681)
+++ head/mail/opensmtpd-extras/files/patch-git6d424d2 Fri Jan 31 09:07:49 2020 (r524682)
@@ -3,19 +3,24 @@ From: Reio Remma <reio at mrstuudio.ee>
Date: Thu, 19 Dec 2019 18:55:30 +0200
Subject: [PATCH] Fix building with MySQL 8.0.1.
+From 337e64706c9d7f8e00d710b855fe5e5373354d65 Mon Sep 17 00:00:00 2001
+From: adufray <github at adufray.com>
+Date: Wed, 29 Jan 2020 09:47:04 -0600
+Subject: [PATCH] Fix builds for MariaDB users
+
---
extras/tables/table-mysql/table_mysql.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git ./extras/tables/table-mysql/table_mysql.c ./extras/tables/table-mysql/table_mysql.c
-index a58fdf1..257a713 100644
+index a58fdf1..53fb7b7 100644
--- ./extras/tables/table-mysql/table_mysql.c
+++ ./extras/tables/table-mysql/table_mysql.c
@@ -243,7 +243,11 @@ config_connect(struct config *conf)
{ "query_addrname", 1 },
{ "query_mailaddrmap", 1 },
};
-+#if MYSQL_VERSION_ID >= 80001
++#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80001
+ bool reconn;
+#else
my_bool reconn;
More information about the svn-ports-head
mailing list