From a16dd0a62e84e0d46dd8e0972c522fc9dd9b6dc1 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Mon, 17 Sep 2018 20:50:27 +0200 Subject: [PATCH] gnome-usage: fix build with vala 0.42 --- .../patches/fix-vala-0-42-build.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/gnome-usage/patches/fix-vala-0-42-build.patch diff --git a/srcpkgs/gnome-usage/patches/fix-vala-0-42-build.patch b/srcpkgs/gnome-usage/patches/fix-vala-0-42-build.patch new file mode 100644 index 0000000000..3e360a01b2 --- /dev/null +++ b/srcpkgs/gnome-usage/patches/fix-vala-0-42-build.patch @@ -0,0 +1,20 @@ +--- src/speedometer.vala ++++ src/speedometer.vala +@@ -33,7 +33,7 @@ namespace Usage + + private Gtk.CssProvider css_provider; + +- private int _percentage; ++ private int _percentage = 0; + public int percentage { + get { + return _percentage; +@@ -43,7 +43,7 @@ namespace Usage + + _percentage = value; + } +- default = 0; } ++ } + + construct { + css_provider = new Gtk.CssProvider();