Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
119c9dc4
Commit
119c9dc4
authored
6 months ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
community/telepathy-glib: fix build with gcc 14
parent
ed8448e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!71511
community/telepathy-glib: fix build with gcc 14
Pipeline
#257010
passed
6 months ago
Stage: verify
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/telepathy-glib/APKBUILD
+3
-1
3 additions, 1 deletion
community/telepathy-glib/APKBUILD
community/telepathy-glib/gcc14.patch
+24
-0
24 additions, 0 deletions
community/telepathy-glib/gcc14.patch
with
27 additions
and
1 deletion
community/telepathy-glib/APKBUILD
+
3
−
1
View file @
119c9dc4
...
@@ -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
"
"
This diff is collapsed.
Click to expand it.
community/telepathy-glib/gcc14.patch
0 → 100644
+
24
−
0
View file @
119c9dc4
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++)
{
This diff is collapsed.
Click to expand it.
mio
@mio
mentioned in issue
#16335
·
6 months ago
mentioned in issue
#16335
mentioned in issue #16335
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment