Date: Wed, 24 Jan 2018 07:21:27 +0000 (UTC) From: Don Lewis <truckman@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459820 - head/x11/gnome-pie/files Message-ID: <201801240721.w0O7LRp1047140@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801240721.w0O7LRp1047140>