Skip to content
Snippets Groups Projects
Commit 119c9dc4 authored by Natanael Copa's avatar Natanael Copa
Browse files

community/telepathy-glib: fix build with gcc 14

parent ed8448e1
No related branches found
No related tags found
1 merge request!71511community/telepathy-glib: fix build with gcc 14
Pipeline #257010 passed
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=telepathy-glib pkgname=telepathy-glib
pkgver=0.24.2 pkgver=0.24.2
pkgrel=2 pkgrel=3
pkgdesc="Library for GLib-based Telepathy components" pkgdesc="Library for GLib-based Telepathy components"
url="https://telepathy.freedesktop.org" url="https://telepathy.freedesktop.org"
arch="all" arch="all"
...@@ -13,6 +13,7 @@ checkdepends="dbus" ...@@ -13,6 +13,7 @@ checkdepends="dbus"
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-dev $pkgname-doc"
source="https://telepathy.freedesktop.org/releases/telepathy-glib/telepathy-glib-$pkgver.tar.gz source="https://telepathy.freedesktop.org/releases/telepathy-glib/telepathy-glib-$pkgver.tar.gz
test-cm.patch test-cm.patch
gcc14.patch
" "
case "$CARCH" in case "$CARCH" in
...@@ -56,4 +57,5 @@ package() { ...@@ -56,4 +57,5 @@ package() {
sha512sums=" sha512sums="
736590c299b6522c41153e01e80d9bfdac1d4cbec646b28c9fba67a07429426ff2c8e38818f2cddd7ccdc38a061d210906f6e551f7a6059c34c4dd08b789b501 telepathy-glib-0.24.2.tar.gz 736590c299b6522c41153e01e80d9bfdac1d4cbec646b28c9fba67a07429426ff2c8e38818f2cddd7ccdc38a061d210906f6e551f7a6059c34c4dd08b789b501 telepathy-glib-0.24.2.tar.gz
779ae9628367f25aeb6a3c3322ef5e14f7c4271ba592f42e9c4bd82235a2bf767f8fea6ef13d61c746eb1719bf8e74c54c8f4da6d170496a595b5c4b96a39c5d test-cm.patch 779ae9628367f25aeb6a3c3322ef5e14f7c4271ba592f42e9c4bd82235a2bf767f8fea6ef13d61c746eb1719bf8e74c54c8f4da6d170496a595b5c4b96a39c5d test-cm.patch
1500d0c5999072639353b5aa42869f58dde07c542bc7d9bd8be13781c1e34a8e181e223189080f48dee1be985a596ca2fd347c76b6c875262689e79bf21686cb gcc14.patch
" "
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++)
{
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment