From 177cff02d4aed6a1238faab17e062a9752237c63 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 2 Apr 2022 19:44:54 +0200 Subject: [PATCH] simple-scan: fix for vala 0.56 --- srcpkgs/simple-scan/patches/vala-0.56.patch | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/simple-scan/patches/vala-0.56.patch diff --git a/srcpkgs/simple-scan/patches/vala-0.56.patch b/srcpkgs/simple-scan/patches/vala-0.56.patch new file mode 100644 index 00000000000..0820cee20e4 --- /dev/null +++ b/srcpkgs/simple-scan/patches/vala-0.56.patch @@ -0,0 +1,25 @@ +From c50802b213c325cfa957d66955f6de96908710d9 Mon Sep 17 00:00:00 2001 +From: Rico Tzschichholz +Date: Sat, 6 Nov 2021 19:46:07 +0100 +Subject: [PATCH] Fix accessibility conflict of constant and its value + +--- + src/simple-scan.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/simple-scan.vala b/src/simple-scan.vala +index c15a5418..71f32de9 100644 +--- a/src/simple-scan.vala ++++ b/src/simple-scan.vala +@@ -14,7 +14,7 @@ public class SimpleScan : Gtk.Application + static bool show_version; + static bool debug_enabled; + static string? fix_pdf_filename = null; +- public const OptionEntry[] options = ++ const OptionEntry[] options = + { + { "version", 'v', 0, OptionArg.NONE, ref show_version, + /* Help string for command line --version flag */ +-- +GitLab +