From owner-svn-ports-all@freebsd.org Fri Feb 16 22:50:48 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5903F19B44; Fri, 16 Feb 2018 22:50:47 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9899276657; Fri, 16 Feb 2018 22:50:47 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9390813FD3; Fri, 16 Feb 2018 22:50:47 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1GMolmY079781; Fri, 16 Feb 2018 22:50:47 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1GMolcA079780; Fri, 16 Feb 2018 22:50:47 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201802162250.w1GMolcA079780@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Fri, 16 Feb 2018 22:50:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462067 - head/databases/tora/files X-SVN-Group: ports-head X-SVN-Commit-Author: rakuco X-SVN-Commit-Paths: head/databases/tora/files X-SVN-Commit-Revision: 462067 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2018 22:50:48 -0000 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} + }; + +