diff --git a/totem-pl-parser-c99.patch b/totem-pl-parser-c99.patch new file mode 100644 index 0000000..d629b44 --- /dev/null +++ b/totem-pl-parser-c99.patch @@ -0,0 +1,19 @@ +Return FALSE instead of NULL, to match the gboolean return type. + +Submitted upstream: + + + +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); + } diff --git a/totem-pl-parser.spec b/totem-pl-parser.spec index d821e5e..83515f8 100644 --- a/totem-pl-parser.spec +++ b/totem-pl-parser.spec @@ -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 - 3.26.6-8 +- Fix C compatibility issue + * Sat Jul 22 2023 Fedora Release Engineering - 3.26.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild