svn commit: r469371 - head/databases/mysql55-client/files

Alex Dupre ale at FreeBSD.org
Tue May 8 10:55:24 UTC 2018


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)))
+       {


More information about the svn-ports-head mailing list