svn commit: r523958 - head/mail/opensmtpd-extras/files
Dima Panov
fluffy at FreeBSD.org
Fri Jan 24 09:26:32 UTC 2020
Author: fluffy
Date: Fri Jan 24 09:26:31 2020
New Revision: 523958
URL: https://svnweb.freebsd.org/changeset/ports/523958
Log:
mail/opensmtpd-extras: Fix building with MySQL 8.0.1
Obtained from: OpenSMTPd repo
MFH: 2020Q1
Added:
head/mail/opensmtpd-extras/files/
head/mail/opensmtpd-extras/files/patch-git6d424d2 (contents, props changed)
Added: head/mail/opensmtpd-extras/files/patch-git6d424d2
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/opensmtpd-extras/files/patch-git6d424d2 Fri Jan 24 09:26:31 2020 (r523958)
@@ -0,0 +1,25 @@
+From 6d424d2b10b8f8b04197d1edc686d61cdf5154db Mon Sep 17 00:00:00 2001
+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.
+
+---
+ 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
+--- ./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
++ bool reconn;
++#else
+ my_bool reconn;
++#endif
+ size_t i;
+ char *host, *username, *password, *database, *q;
+
More information about the svn-ports-head
mailing list