packages/multimedia/lcdgrilo/patches/020-vala.patch
Rosen Penev 16fb706641
lcdgrilo: Fix compilation with newer Vala
It seems semantics changed slightly.

Cleaned up Makefile for consistency between packages.

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-16 09:38:03 -07:00

11 lines
415 B
Diff

--- a/src/lcdgrilo.vala
+++ b/src/lcdgrilo.vala
@@ -47,7 +47,7 @@ private class LCDPlayer {
private int current = 0;
private Transitions transitions;
private MainLoop loop;
- private Gee.ArrayList<Grl.Source> sources = new Gee.ArrayList<unowned Grl.Source> ();
+ private Gee.ArrayList<weak Grl.Source> sources = new Gee.ArrayList<unowned Grl.Source> ();
private uint watch_id = 0;
public LCDPlayer () {