Accepting request 1178626 from GNOME:Next
- Add telepathy-glib-function-type-cast.patch: fix an invalid cast (glfdo#telepathy/telepathy-glib!4). OBS-URL: https://build.opensuse.org/request/show/1178626 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/telepathy-glib?expand=0&rev=173
This commit is contained in:
parent
5c3456577b
commit
fe051e5fe6
27
telepathy-glib-function-type-cast.patch
Normal file
27
telepathy-glib-function-type-cast.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From 72412c944b771f3214ddc40fa9dea82cea3a5651 Mon Sep 17 00:00:00 2001
|
||||
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
|
||||
Date: Fri, 2 Feb 2024 12:17:44 +0900
|
||||
Subject: [PATCH] fix: build fix with -Werror=incompatible-pointer-types
|
||||
|
||||
gcc14 defaults to -Werror=incompatible-pointer-types .
|
||||
Fix build error with this option.
|
||||
---
|
||||
telepathy-glib/protocol.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/telepathy-glib/protocol.c b/telepathy-glib/protocol.c
|
||||
index 88fdff382..25b36620b 100644
|
||||
--- a/telepathy-glib/protocol.c
|
||||
+++ b/telepathy-glib/protocol.c
|
||||
@@ -1791,7 +1791,7 @@ _tp_protocol_parse_manager_file (GKeyFile *file,
|
||||
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++)
|
||||
{
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 21:43:45 UTC 2024 - Michael Gorse <mgorse@suse.com>
|
||||
|
||||
- Add telepathy-glib-function-type-cast.patch: fix an invalid cast
|
||||
(glfdo#telepathy/telepathy-glib!4).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 5 14:05:37 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -24,6 +24,8 @@ License: LGPL-2.1-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
URL: http://telepathy.freedesktop.org/
|
||||
Source: http://telepathy.freedesktop.org/releases/telepathy-glib/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM telepathy-glib-function-type-cast.patch boo#1221707 mgorse@suse.com -- fix an invalid cast.
|
||||
Patch0: telepathy-glib-function-type-cast.patch
|
||||
|
||||
BuildRequires: gtk-doc >= 1.17
|
||||
BuildRequires: libxslt-devel
|
||||
|
Loading…
Reference in New Issue
Block a user