diff --git a/simple-scan-40.7-vala-accessibility.patch b/simple-scan-40.7-vala-accessibility.patch new file mode 100644 index 0000000..0820cee --- /dev/null +++ b/simple-scan-40.7-vala-accessibility.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 + diff --git a/simple-scan.spec b/simple-scan.spec index 789b0d9..1d0f3d9 100644 --- a/simple-scan.spec +++ b/simple-scan.spec @@ -8,6 +8,8 @@ Summary: Simple scanning utility License: GPLv3+ URL: https://launchpad.net/%{name} Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{tarball_version}.tar.xz +# https://bugzilla.redhat.com/show_bug.cgi?id=2047014 +Patch0: simple-scan-40.7-vala-accessibility.patch BuildRequires: meson BuildRequires: sane-backends-devel @@ -57,7 +59,7 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %{_datadir}/glib-2.0/schemas/org.gnome.SimpleScan.gschema.xml %changelog -* Sat Jan 22 2022 Fedora Release Engineering - 40.7-2 +* Thu Jan 27 2022 David King - 40.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 23 2021 David King - 40.7-1