Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2018 10:55:23 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469371 - head/databases/mysql55-client/files
Message-ID:  <201805081055.w48AtNQd045200@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Tue May  8 10:55:23 2018
New Revision: 469371
URL: https://svnweb.freebsd.org/changeset/ports/469371

Log:
  Try to fix build with clang6.

Added:
  head/databases/mysql55-client/files/patch-client_mysql.cc   (contents, props changed)

Added: head/databases/mysql55-client/files/patch-client_mysql.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/mysql55-client/files/patch-client_mysql.cc	Tue May  8 10:55:23 2018	(r469371)
@@ -0,0 +1,11 @@
+--- client/mysql.cc.orig	2018-05-08 12:44:38.160868000 +0200
++++ client/mysql.cc	2018-05-08 12:45:01.377062000 +0200
+@@ -2671,7 +2671,7 @@
+         mysql_free_result(fields);
+         break;
+       }
+-      field_names[i][num_fields*2]= '\0';
++      field_names[i][num_fields*2]= NULL;
+       j=0;
+       while ((sql_field=mysql_fetch_field(fields)))
+       {



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