diff --git a/seahorse-gcc14.patch b/seahorse-gcc14.patch new file mode 100644 index 0000000..eb10d0d --- /dev/null +++ b/seahorse-gcc14.patch @@ -0,0 +1,25 @@ +From 4110a2389bf9728b8f0c9b216b0a5843de806e4a Mon Sep 17 00:00:00 2001 +From: ppw 0 +Date: Wed, 6 Dec 2023 12:16:45 +0000 +Subject: [PATCH] Update file operation.vala + +--- + ssh/operation.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ssh/operation.vala b/ssh/operation.vala +index 4743d0a5..48a525c3 100644 +--- a/ssh/operation.vala ++++ b/ssh/operation.vala +@@ -49,7 +49,7 @@ public abstract class Operation : GLib.Object { + protected async string? operation_async(string command, + string? input, + Cancellable? cancellable) throws GLib.Error { +- return_val_if_fail (command != null && command != "", null); ++ return_val_if_fail (command != null && command != "", false); + + // Strip the command name for logging purposes + string[] args; +-- +GitLab + diff --git a/seahorse.changes b/seahorse.changes index 3a77342..6829de2 100644 --- a/seahorse.changes +++ b/seahorse.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 4 19:37:12 UTC 2024 - Michael Gorse + +- Add seahorse-gcc14.patch: fix an invalid cast + (glgo#GNOME/seahorse!220). + ------------------------------------------------------------------- Wed Feb 28 09:09:56 UTC 2024 - Dominique Leuenberger diff --git a/seahorse.spec b/seahorse.spec index 0bd3be0..1f62f94 100644 --- a/seahorse.spec +++ b/seahorse.spec @@ -24,6 +24,8 @@ License: GFDL-1.1-only AND GPL-2.0-or-later AND LGPL-2.1-or-later Group: Productivity/Security URL: https://wiki.gnome.org/Apps/Seahorse Source0: %{name}-%{version}.tar.zst +# PATCH-FIX-UPSTREAM seahorse-gcc14.patch boo#1225926 mgorse@suse.com -- fix an invalid cast. +Patch0: seahorse-gcc14.patch BuildRequires: appstream-glib BuildRequires: desktop-file-utils BuildRequires: docbook-xsl-stylesheets