telepathy-glib: fix build with gcc14

This commit is contained in:
oreo639 2025-03-18 18:40:45 -07:00
parent d545ee7ff5
commit ed791d8754

View file

@ -0,0 +1,13 @@
Source: https://src.fedoraproject.org/rpms/telepathy-glib/blob/f42/f/telepathy-glib-prXXX-function-type-cast.patch
--- telepathy-glib-0.24.2/telepathy-glib/protocol.c.type 2021-01-27 00:23:28.000000000 +0900
+++ telepathy-glib-0.24.2/telepathy-glib/protocol.c 2024-01-18 09:54:21.131483880 +0900
@@ -1791,7 +1791,7 @@
i++;
}
- param_specs = g_ptr_array_new_full (i, tp_value_array_free);
+ param_specs = g_ptr_array_new_full (i, (GDestroyNotify) tp_value_array_free);
for (key = keys; key != NULL && *key != NULL; key++)
{