aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2020-01-31 09:31:02 +0000
committerDima Panov <fluffy@FreeBSD.org>2020-01-31 09:31:02 +0000
commit3c001379bcaf6d38f94a1d57b933dece5cc94d3b (patch)
tree149b4f0c5e8e1882a567a6466b462086d9682451 /mail
parentdb6ee0b9ed57a3d451a32f5bfc8a4a4865633442 (diff)
downloadports-3c001379bcaf6d38f94a1d57b933dece5cc94d3b.tar.gz
ports-3c001379bcaf6d38f94a1d57b933dece5cc94d3b.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/opensmtpd-extras/files/patch-git6d424d29
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/opensmtpd-extras/files/patch-git6d424d2 b/mail/opensmtpd-extras/files/patch-git6d424d2
index f25f587564fa..6d55535126d5 100644
--- a/mail/opensmtpd-extras/files/patch-git6d424d2
+++ b/mail/opensmtpd-extras/files/patch-git6d424d2
@@ -3,19 +3,24 @@ From: Reio Remma <reio@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@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;