Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2018 10:36:35 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478670 - head/math/gri/files
Message-ID:  <201809011036.w81AaZ1T058978@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809011036.w81AaZ1T058978>