Index: branches/2020Q1/mail/opensmtpd-extras/files/patch-git6d424d2 =================================================================== --- branches/2020Q1/mail/opensmtpd-extras/files/patch-git6d424d2 (nonexistent) +++ branches/2020Q1/mail/opensmtpd-extras/files/patch-git6d424d2 (revision 523961) @@ -0,0 +1,25 @@ +From 6d424d2b10b8f8b04197d1edc686d61cdf5154db Mon Sep 17 00:00:00 2001 +From: Reio Remma +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; + Property changes on: branches/2020Q1/mail/opensmtpd-extras/files/patch-git6d424d2 ___________________________________________________________________ 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 Index: branches/2020Q1 =================================================================== --- branches/2020Q1 (revision 523960) +++ branches/2020Q1 (revision 523961) Property changes on: branches/2020Q1 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r523958