From owner-svn-ports-all@freebsd.org Sat Sep 1 10:36:35 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 DB278FE9ED9; Sat, 1 Sep 2018 10:36:35 +0000 (UTC) (envelope-from tobik@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 8608B8499C; Sat, 1 Sep 2018 10:36:35 +0000 (UTC) (envelope-from tobik@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 7D8B9FAF; Sat, 1 Sep 2018 10:36:35 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w81AaZj3058979; Sat, 1 Sep 2018 10:36:35 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w81AaZ1T058978; Sat, 1 Sep 2018 10:36:35 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201809011036.w81AaZ1T058978@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 1 Sep 2018 10:36:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478670 - head/math/gri/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/math/gri/files X-SVN-Commit-Revision: 478670 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.27 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: Sat, 01 Sep 2018 10:36:36 -0000 Author: tobik Date: Sat Sep 1 10:36:35 2018 New Revision: 478670 URL: https://svnweb.freebsd.org/changeset/ports/478670 Log: math/gri: Fix build with Clang 6 query.cc:59:16: error: assigning to 'char *' from incompatible type 'char' def_word[0] = '\0'; ^~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/gri-2.12.23_6.log Added: head/math/gri/files/patch-src_query.cc (contents, props changed) Added: head/math/gri/files/patch-src_query.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gri/files/patch-src_query.cc Sat Sep 1 10:36:35 2018 (r478670) @@ -0,0 +1,11 @@ +--- src/query.cc.orig 2018-09-01 10:32:12 UTC ++++ src/query.cc +@@ -56,7 +56,7 @@ queryCmd() + if (!find_hint_and_def(hint, def)) { + return false; + } +- def_word[0] = '\0'; ++ def_word[0] = NULL; + chop_into_words(def, def_word, &def_words, NCHAR); + // Strip off double-quotes form list of defaults + for (unsigned int i = 0; i < def_words; i++) {