Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2017 02:37:15 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449750 - head/x11-toolkits/granite/files
Message-ID:  <201709130237.v8D2bFFl062341@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Wed Sep 13 02:37:14 2017
New Revision: 449750
URL: https://svnweb.freebsd.org/changeset/ports/449750

Log:
  x11-toolkits/granite: unbreak build with vala 0.36
  
  /wrkdirs/usr/ports/x11-toolkits/granite/work/granite-0.4.0.1/lib/Widgets/ContractorView.vala:184.27-184.28: error: Argument 1: Cannot pass value to reference or output parameter
  	            list.remove (it);
  	                         ^^
  
  PR:		222035
  Submitted by:	cpm

Added:
  head/x11-toolkits/granite/files/patch-lib_Widgets_ContractorView.vala   (contents, props changed)

Added: head/x11-toolkits/granite/files/patch-lib_Widgets_ContractorView.vala
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/granite/files/patch-lib_Widgets_ContractorView.vala	Wed Sep 13 02:37:14 2017	(r449750)
@@ -0,0 +1,14 @@
+--- lib/Widgets/ContractorView.vala.orig	2016-08-06 23:51:23 UTC
++++ lib/Widgets/ContractorView.vala
+@@ -181,7 +181,11 @@ public class Granite.Widgets.ContractorView : TreeView
+ 	        string text = value.get_string ();
+ 
+ 	        if (text[3:text.index_of ("</b>")] in names) {
++#if VALA_0_36
++	            list.remove (ref it);
++#else
+ 	            list.remove (it);
++#endif
+ 	            blacklisted_pos += cur_pos;
+             }
+ 	        if (!check)



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