Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2020 09:26:32 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523958 - head/mail/opensmtpd-extras/files
Message-ID:  <202001240926.00O9QW1a080981@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001240926.00O9QW1a080981>