Florian Weimer 2024-01-03 13:26:05 +01:00
parent 65cd5d4e0b
commit 8aea802762
2 changed files with 24 additions and 1 deletions

19
totem-pl-parser-c99.patch Normal file
View File

@ -0,0 +1,19 @@
Return FALSE instead of NULL, to match the gboolean return type.
Submitted upstream:
<https://gitlab.gnome.org/GNOME/totem-pl-parser/-/merge_requests/53>
diff --git a/plparse/totem-pl-parser.c b/plparse/totem-pl-parser.c
index 404deb395a229e53..5b9bcf301e2e2c4b 100644
--- a/plparse/totem-pl-parser.c
+++ b/plparse/totem-pl-parser.c
@@ -1334,7 +1334,7 @@ totem_pl_parser_save_finish (TotemPlParser *parser,
GAsyncResult *async_result,
GError **error)
{
- g_return_val_if_fail (g_task_is_valid (async_result, parser), NULL);
+ g_return_val_if_fail (g_task_is_valid (async_result, parser), FALSE);
return g_task_propagate_boolean (G_TASK (async_result), error);
}

View File

@ -1,11 +1,12 @@
Name: totem-pl-parser
Version: 3.26.6
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Totem Playlist Parser library
License: LGPLv2+
Url: https://wiki.gnome.org/Apps/Videos
Source0: https://download.gnome.org/sources/%{name}/3.26/%{name}-%{version}.tar.xz
Patch0: totem-pl-parser-c99.patch
BuildRequires: glib2-devel
BuildRequires: libxml2-devel
@ -61,6 +62,9 @@ developing applications that use %{name}.
%{_datadir}/gir-1.0/*.gir
%changelog
* Wed Jan 03 2024 Florian Weimer <fweimer@redhat.com> - 3.26.6-8
- Fix C compatibility issue
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.26.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild