Date: Fri, 16 Feb 2018 22:50:47 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462067 - head/databases/tora/files Message-ID: <201802162250.w1GMolcA079780@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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} + }; + +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802162250.w1GMolcA079780>