Accepting request 1095980 from GNOME:Factory
- fix segfault when turning monitor back on (bsc#1212840): Fix-the-callback-signature-to-fix-a-crash.patch OBS-URL: https://build.opensuse.org/request/show/1095980 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/colord-gtk?expand=0&rev=14
This commit is contained in:
commit
9382e7db7c
24
Fix-the-callback-signature-to-fix-a-crash.patch
Normal file
24
Fix-the-callback-signature-to-fix-a-crash.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From: Richard Hughes <richard@hughsie.com>
|
||||
Date: Sat, 24 Jun 2023 12:06:12 +0100
|
||||
Subject: Fix the callback signature to fix a crash
|
||||
Patch-mainline: 0.4.0?
|
||||
Git-commit: c620b4a4b3dfc2ce58cd60b9d5209fb19396fc42
|
||||
References: bsc#1212840 https://github.com/hughsie/colord-gtk/issues/22
|
||||
|
||||
Fixes https://github.com/hughsie/colord-gtk/issues/22
|
||||
|
||||
---
|
||||
libcolord-gtk/cd-window.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/libcolord-gtk/cd-window.c
|
||||
+++ b/libcolord-gtk/cd-window.c
|
||||
@@ -295,7 +295,7 @@ cd_window_get_profile_device_find_cb (GObject *source,
|
||||
}
|
||||
|
||||
static void
|
||||
-cd_window_device_changed_cb (CdDevice *device, CdWindow *window)
|
||||
+cd_window_device_changed_cb (CdClient *client, CdDevice *device, CdWindow *window)
|
||||
{
|
||||
CdProfile *profile;
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 29 07:46:18 UTC 2023 - Michal Kubecek <mkubecek@suse.cz>
|
||||
|
||||
- fix segfault when turning monitor back on (bsc#1212840):
|
||||
Fix-the-callback-signature-to-fix-a-crash.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 2 18:09:19 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package colord-gtk
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -27,6 +27,8 @@ Source0: https://www.freedesktop.org/software/colord/releases/colord-gtk-
|
||||
Source1: https://www.freedesktop.org/software/colord/releases/colord-gtk-%{version}.tar.xz.asc
|
||||
Source2: %{name}.keyring
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM Fix-the-callback-signature-to-fix-a-crash.patch bsc#1212840 gh#hughsie/colord-gtk#22 -- Fix segfault when turning monitor back on
|
||||
Patch1: Fix-the-callback-signature-to-fix-a-crash.patch
|
||||
BuildRequires: docbook5-xsl-stylesheets
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: meson
|
||||
|
Loading…
x
Reference in New Issue
Block a user