From owner-svn-ports-all@freebsd.org Wed Jan 24 07:21:27 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 CAE31EC3BE8; Wed, 24 Jan 2018 07:21:27 +0000 (UTC) (envelope-from truckman@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 816D37C157; Wed, 24 Jan 2018 07:21:27 +0000 (UTC) (envelope-from truckman@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 7C61A1A877; Wed, 24 Jan 2018 07:21:27 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0O7LRhY047141; Wed, 24 Jan 2018 07:21:27 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0O7LRp1047140; Wed, 24 Jan 2018 07:21:27 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <201801240721.w0O7LRp1047140@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Wed, 24 Jan 2018 07:21:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459820 - head/x11/gnome-pie/files X-SVN-Group: ports-head X-SVN-Commit-Author: truckman X-SVN-Commit-Paths: head/x11/gnome-pie/files X-SVN-Commit-Revision: 459820 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: Wed, 24 Jan 2018 07:21:28 -0000 Author: truckman Date: Wed Jan 24 07:21:27 2018 New Revision: 459820 URL: https://svnweb.freebsd.org/changeset/ports/459820 Log: Fix build of x11/gnome-pie with vala 0.36 PR: 225124, 221941 Submitted by: cpm Approved by: nivit (maintainer, via private email) Added: head/x11/gnome-pie/files/patch-src__utilities__color.vala (contents, props changed) Added: head/x11/gnome-pie/files/patch-src__utilities__color.vala ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/gnome-pie/files/patch-src__utilities__color.vala Wed Jan 24 07:21:27 2018 (r459820) @@ -0,0 +1,47 @@ +--- src/utilities/color.vala.orig 2018-01-12 22:06:16.414101000 +0100 ++++ src/utilities/color.vala 2018-01-12 22:12:55.215652000 +0100 +@@ -41,7 +41,7 @@ + ///////////////////////////////////////////////////////////////////// + + public Color() { +- Color.from_rgb(1.0f, 1.0f, 1.0f); ++ this.from_rgb(1.0f, 1.0f, 1.0f); + } + + ///////////////////////////////////////////////////////////////////// +@@ -49,7 +49,7 @@ + ///////////////////////////////////////////////////////////////////// + + public Color.from_rgb(float red, float green, float blue) { +- Color.from_rgba(red, green, blue, 1.0f); ++ this.from_rgba(red, green, blue, 1.0f); + } + + ///////////////////////////////////////////////////////////////////// +@@ -68,7 +68,7 @@ + ///////////////////////////////////////////////////////////////////// + + public Color.from_gdk(Gdk.RGBA color) { +- Color.from_rgba( ++ this.from_rgba( + (float)color.red, + (float)color.green, + (float)color.blue, +@@ -83,7 +83,7 @@ + public Color.from_string(string hex_string) { + var color = Gdk.RGBA(); + color.parse(hex_string); +- Color.from_gdk(color); ++ this.from_gdk(color); + } + + ///////////////////////////////////////////////////////////////////// +@@ -121,7 +121,7 @@ + } + } + +- Color.from_rgb((float)(rtotal/total), (float)(gtotal/total), (float)(btotal/total)); ++ this.from_rgb((float)(rtotal/total), (float)(gtotal/total), (float)(btotal/total)); + + if (s > 0.15f) s = 0.65f; +