diff --git a/srcpkgs/go-for-it/patches/vala-0.56.patch b/srcpkgs/go-for-it/patches/vala-0.56.patch new file mode 100644 index 0000000000..76929f6cfa --- /dev/null +++ b/srcpkgs/go-for-it/patches/vala-0.56.patch @@ -0,0 +1,30 @@ +From 4be5ff4ff5ef7db9ab320945cd78a2b2e853695c Mon Sep 17 00:00:00 2001 +From: Michal Vasilek +Date: Sat, 2 Apr 2022 18:53:20 +0200 +Subject: [PATCH] Fix build with vala 0.56 + +~/Go-For-It-1.9.6/src/Services/TaskTimer.vala:35.42-35.50: error: value is less accessible than constant `GOFI.TaskTimer.UPDATE_INTERVAL' + 35 | public const int64 UPDATE_INTERVAL = 60 * US_C; + | ^~~~~~~~~ + +Closes #172 +--- + src/Services/TaskTimer.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Services/TaskTimer.vala b/src/Services/TaskTimer.vala +index 8f14f25..2231dc9 100644 +--- a/src/Services/TaskTimer.vala ++++ b/src/Services/TaskTimer.vala +@@ -32,7 +32,7 @@ public class GOFI.TaskTimer { + + private const int64 US_C = 1000000; // μs<->s conversion + +- public const int64 UPDATE_INTERVAL = 60 * US_C; ++ private const int64 UPDATE_INTERVAL = 60 * US_C; + + /** + * A proxy attribute, that does not store any data itself, but provides +-- +2.35.1 +