diff --git a/tracker-Use-correct-signature.patch b/tracker-Use-correct-signature.patch new file mode 100644 index 0000000..9214ff8 --- /dev/null +++ b/tracker-Use-correct-signature.patch @@ -0,0 +1,26 @@ +From 80baef2cf30e6936dd989a149bf2ce2bdd2ae36c Mon Sep 17 00:00:00 2001 +From: Rico Tzschichholz +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 + diff --git a/tracker.changes b/tracker.changes index a839f4b..3d2b4e2 100644 --- a/tracker.changes +++ b/tracker.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 16 20:05:07 UTC 2020 - Bjørn Lie + +- Add tracker-Use-correct-signature.patch: tracker-store: Use + correct signature for DBusSignalCallback. + ------------------------------------------------------------------- Wed Mar 25 07:42:43 UTC 2020 - Guillaume GARDET diff --git a/tracker.spec b/tracker.spec index 11cbd72..73101ba 100644 --- a/tracker.spec +++ b/tracker.spec @@ -28,6 +28,8 @@ License: GPL-2.0-or-later Group: Productivity/Other URL: https://wiki.gnome.org/Projects/Tracker 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: gcc-c++