svn commit: r462067 - head/databases/tora/files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Fri Feb 16 22:50:48 UTC 2018
Author: rakuco
Date: Fri Feb 16 22:50:47 2018
New Revision: 462067
URL: https://svnweb.freebsd.org/changeset/ports/462067
Log:
Add a patch to fix the build with clang 6.
toplsqltext.cpp:80:19: error: cannot initialize a member subobject of type 'const char *' with an rvalue of type 'bool'
{ NULL, NULL, false, false}
^~~~~
Added:
head/databases/tora/files/patch-src_toplsqltext.cpp (contents, props changed)
Added: head/databases/tora/files/patch-src_toplsqltext.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/tora/files/patch-src_toplsqltext.cpp Fri Feb 16 22:50:47 2018 (r462067)
@@ -0,0 +1,16 @@
+Fix the build with clang 6.
+
+toplsqltext.cpp:80:19: error: cannot initialize a member subobject of type 'const char *' with an rvalue of type 'bool'
+ { NULL, NULL, false, false}
+ ^~~~~
+--- src/toplsqltext.cpp.orig 2018-02-16 21:47:29 UTC
++++ src/toplsqltext.cpp
+@@ -77,7 +77,7 @@ TypeMap[] = { { "FUNCTION", "Fc", ":/icons/function.pn
+ { "LOOP", "Loop", NULL, false, false},
+ { "WHILE", "Loop", NULL, false, false},
+ { "FOR", "Loop", NULL, false, false},
+- { NULL, NULL, false, false}
++ { NULL, NULL, NULL, false, false}
+ };
+
+
More information about the svn-ports-head
mailing list