Accepting request 794659 from GNOME:Next
Add upstream patch OBS-URL: https://build.opensuse.org/request/show/794659 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/tracker?expand=0&rev=197
This commit is contained in:
parent
4888c83043
commit
172f0a96df
26
tracker-Use-correct-signature.patch
Normal file
26
tracker-Use-correct-signature.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 80baef2cf30e6936dd989a149bf2ce2bdd2ae36c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Rico Tzschichholz <ricotz@ubuntu.com>
|
||||||
|
Date: Tue, 7 Apr 2020 16:51:30 +0200
|
||||||
|
Subject: [PATCH] tracker-store: Use correct signature for DBusSignalCallback
|
||||||
|
|
||||||
|
This change is backwards compatible with older gio-2.0 bindings
|
||||||
|
---
|
||||||
|
src/tracker-store/tracker-dbus.vala | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/tracker-store/tracker-dbus.vala b/src/tracker-store/tracker-dbus.vala
|
||||||
|
index 82387d76e..dbbd775d6 100644
|
||||||
|
--- a/src/tracker-store/tracker-dbus.vala
|
||||||
|
+++ b/src/tracker-store/tracker-dbus.vala
|
||||||
|
@@ -122,7 +122,7 @@ public class Tracker.DBus {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
- static void name_owner_changed_cb (DBusConnection connection, string sender_name, string object_path, string interface_name, string signal_name, Variant parameters) {
|
||||||
|
+ static void name_owner_changed_cb (DBusConnection connection, string? sender_name, string object_path, string interface_name, string signal_name, Variant parameters) {
|
||||||
|
|
||||||
|
unowned string name, old_owner, new_owner;
|
||||||
|
parameters.get ("(&s&s&s)", out name, out old_owner, out new_owner);
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 20:05:07 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Add tracker-Use-correct-signature.patch: tracker-store: Use
|
||||||
|
correct signature for DBusSignalCallback.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 25 07:42:43 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
Wed Mar 25 07:42:43 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@ License: GPL-2.0-or-later
|
|||||||
Group: Productivity/Other
|
Group: Productivity/Other
|
||||||
URL: https://wiki.gnome.org/Projects/Tracker
|
URL: https://wiki.gnome.org/Projects/Tracker
|
||||||
Source0: https://download.gnome.org/sources/tracker/2.3/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/tracker/2.3/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM tracker-Use-correct-signature.patch -- tracker-store: Use correct signature for DBusSignalCallback
|
||||||
|
Patch0: tracker-Use-correct-signature.patch
|
||||||
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
Loading…
Reference in New Issue
Block a user