Accepting request 1178597 from GNOME:Next

- Add seahorse-gcc14.patch: fix an invalid cast
  (glgo#GNOME/seahorse!220).

OBS-URL: https://build.opensuse.org/request/show/1178597
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/seahorse?expand=0&rev=229
This commit is contained in:
Dominique Leuenberger 2024-06-05 06:37:11 +00:00 committed by Git OBS Bridge
parent 608b4f5e25
commit ecad66363b
3 changed files with 33 additions and 0 deletions

25
seahorse-gcc14.patch Normal file
View File

@ -0,0 +1,25 @@
From 4110a2389bf9728b8f0c9b216b0a5843de806e4a Mon Sep 17 00:00:00 2001
From: ppw 0 <ppw0@tuta.io>
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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 4 19:37:12 UTC 2024 - Michael Gorse <mgorse@suse.com>
- Add seahorse-gcc14.patch: fix an invalid cast
(glgo#GNOME/seahorse!220).
-------------------------------------------------------------------
Wed Feb 28 09:09:56 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -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