From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8087E1581F3 for ; Mon, 25 Nov 2024 14:09:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DB86E08C2; Mon, 25 Nov 2024 14:09:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BE11E08C2 for ; Mon, 25 Nov 2024 14:09:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03230342FA4 for ; Mon, 25 Nov 2024 14:09:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D18911DF for ; Mon, 25 Nov 2024 14:09:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1732543695.6b08dc8612d1754f708055e723fae68e077304f2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/libgda/files/, gnome-extra/libgda/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/libgda/files/libgda-5.2.9-c23.patch gnome-extra/libgda/libgda-5.2.9-r2.ebuild X-VCS-Directories: gnome-extra/libgda/files/ gnome-extra/libgda/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6b08dc8612d1754f708055e723fae68e077304f2 X-VCS-Branch: master Date: Mon, 25 Nov 2024 14:09:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2aab6063-8fdc-498d-b7f0-3477fbbd4d72 X-Archives-Hash: 5dfa7192c87cd1f33a30d14a41973f1b commit: 6b08dc8612d1754f708055e723fae68e077304f2 Author: Sam James gentoo org> AuthorDate: Mon Nov 25 14:08:15 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Nov 25 14:08:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b08dc86 gnome-extra/libgda: fix C23 compat Closes: https://bugs.gentoo.org/944755 Signed-off-by: Sam James gentoo.org> gnome-extra/libgda/files/libgda-5.2.9-c23.patch | 33 +++++++++++++++++++++++++ gnome-extra/libgda/libgda-5.2.9-r2.ebuild | 3 +++ 2 files changed, 36 insertions(+) diff --git a/gnome-extra/libgda/files/libgda-5.2.9-c23.patch b/gnome-extra/libgda/files/libgda-5.2.9-c23.patch new file mode 100644 index 000000000000..a2e2a950b084 --- /dev/null +++ b/gnome-extra/libgda/files/libgda-5.2.9-c23.patch @@ -0,0 +1,33 @@ +https://bugs.gentoo.org/944755 +https://gitlab.gnome.org/GNOME/libgda/-/issues/272 +https://gitlab.gnome.org/GNOME/libgda/-/merge_requests/208 + +From 333dc9252e022a70f7a820aa63318ddd15edca83 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ahmed=20Ba=C3=AFzid?= +Date: Sat, 31 Aug 2024 22:18:56 +0100 +Subject: [PATCH] error: function declaration without prototype + +Function declaration with no prototype are forbidden in C23. + +See: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2841.htm + +Closes #272. +--- a/libgda/sql-parser/lemon.c ++++ b/libgda/sql-parser/lemon.c +@@ -57,14 +57,6 @@ struct action; + static struct action *Action_new(void); + static struct action *Action_sort(struct action *); + +-/********** From the file "build.h" ************************************/ +-void FindRulePrecedences(); +-void FindFirstSets(); +-void FindStates(); +-void FindLinks(); +-void FindFollowSets(); +-void FindActions(); +- + /********* From the file "configlist.h" *********************************/ + void Configlist_init(void); + struct config *Configlist_add(struct rule *, int); +-- +GitLab diff --git a/gnome-extra/libgda/libgda-5.2.9-r2.ebuild b/gnome-extra/libgda/libgda-5.2.9-r2.ebuild index 00225fd31682..35f2bc52766b 100644 --- a/gnome-extra/libgda/libgda-5.2.9-r2.ebuild +++ b/gnome-extra/libgda/libgda-5.2.9-r2.ebuild @@ -113,6 +113,9 @@ src_prepare() { # https://github.com/gentoo/gentoo/pull/36912#issuecomment-2171657215 eapply "${FILESDIR}/${PN}-5.2.9-fix-gcc14.patch" + # bug #944755 + eapply "${FILESDIR}/${PN}-5.2.9-c23.patch" + gnome2_src_prepare java-pkg-opt-2_src_prepare }