Fix C compatibility issue
Related to: <https://fedoraproject.org/wiki/Changes/PortingToModernC> <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
This commit is contained in:
parent
65cd5d4e0b
commit
8aea802762
19
totem-pl-parser-c99.patch
Normal file
19
totem-pl-parser-c99.patch
Normal 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);
|
||||||
|
}
|
@ -1,11 +1,12 @@
|
|||||||
Name: totem-pl-parser
|
Name: totem-pl-parser
|
||||||
Version: 3.26.6
|
Version: 3.26.6
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Totem Playlist Parser library
|
Summary: Totem Playlist Parser library
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Url: https://wiki.gnome.org/Apps/Videos
|
Url: https://wiki.gnome.org/Apps/Videos
|
||||||
Source0: https://download.gnome.org/sources/%{name}/3.26/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/%{name}/3.26/%{name}-%{version}.tar.xz
|
||||||
|
Patch0: totem-pl-parser-c99.patch
|
||||||
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
@ -61,6 +62,9 @@ developing applications that use %{name}.
|
|||||||
%{_datadir}/gir-1.0/*.gir
|
%{_datadir}/gir-1.0/*.gir
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.26.6-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user