svn commit: r449750 - head/x11-toolkits/granite/files

Carlos J. Puga Medina cpm at FreeBSD.org
Wed Sep 13 02:37:16 UTC 2017


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)


More information about the svn-ports-head mailing list