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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D015158030 for ; Tue, 28 Feb 2023 03:20:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E948E0718; Tue, 28 Feb 2023 03:20:36 +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 85086E0718 for ; Tue, 28 Feb 2023 03:20:36 +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 69DE7340D82 for ; Tue, 28 Feb 2023 03:20:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D531F8C1 for ; Tue, 28 Feb 2023 03:20:33 +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: <1677554415.5fa97bca95c5a6ff2448bf1abe7ef96016d2be7a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/accountsservice/, sys-apps/accountsservice/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/accountsservice/accountsservice-22.08.8-r1.ebuild sys-apps/accountsservice/accountsservice-22.08.8.ebuild sys-apps/accountsservice/files/accountsservice-22.08.8-configure-clang16.patch X-VCS-Directories: sys-apps/accountsservice/ sys-apps/accountsservice/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5fa97bca95c5a6ff2448bf1abe7ef96016d2be7a X-VCS-Branch: master Date: Tue, 28 Feb 2023 03:20:33 +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: 38c755e5-a5b5-425f-847e-b3363bd46127 X-Archives-Hash: a59b13d4f8d0310dc18eeb45eddef8fe commit: 5fa97bca95c5a6ff2448bf1abe7ef96016d2be7a Author: Sam James gentoo org> AuthorDate: Tue Feb 28 03:20:15 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Feb 28 03:20:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa97bca sys-apps/accountsservice: fix configure w/ clang 16 Signed-off-by: Sam James gentoo.org> ....8.ebuild => accountsservice-22.08.8-r1.ebuild} | 1 + ...accountsservice-22.08.8-configure-clang16.patch | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/sys-apps/accountsservice/accountsservice-22.08.8.ebuild b/sys-apps/accountsservice/accountsservice-22.08.8-r1.ebuild similarity index 97% rename from sys-apps/accountsservice/accountsservice-22.08.8.ebuild rename to sys-apps/accountsservice/accountsservice-22.08.8-r1.ebuild index 9f34a6d97636..738666099808 100644 --- a/sys-apps/accountsservice/accountsservice-22.08.8.ebuild +++ b/sys-apps/accountsservice/accountsservice-22.08.8-r1.ebuild @@ -51,6 +51,7 @@ RDEPEND="${CDEPEND} PATCHES=( "${FILESDIR}"/${PN}-22.04.62-gentoo-system-users.patch + "${FILESDIR}"/${P}-configure-clang16.patch ) python_check_deps() { diff --git a/sys-apps/accountsservice/files/accountsservice-22.08.8-configure-clang16.patch b/sys-apps/accountsservice/files/accountsservice-22.08.8-configure-clang16.patch new file mode 100644 index 000000000000..939418752731 --- /dev/null +++ b/sys-apps/accountsservice/files/accountsservice-22.08.8-configure-clang16.patch @@ -0,0 +1,33 @@ +https://gitlab.freedesktop.org/accountsservice/accountsservice/-/commit/453f893e3c38c209ae9dff47bca74ccb33a5bd34 + +From 453f893e3c38c209ae9dff47bca74ccb33a5bd34 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Tue, 28 Feb 2023 02:31:50 +0000 +Subject: [PATCH] meson.build: fix -Wimplicit-function-declaration in configure + tests for printf + + needs to be included for printf. Newer compilers like Clang 16 make +implicit function declarations an error by default which can cause misleading +or incorrect configure test results. + +Signed-off-by: Sam James +--- a/meson.build ++++ b/meson.build +@@ -79,6 +79,7 @@ endforeach + + if cc.has_header_symbol('utmpx.h', 'WTMPX_FILENAME', prefix: '#define _GNU_SOURCE') + code = '''#define _GNU_SOURCE ++ #include + #include + int main (int argc, char **argv) { + printf ("%s\n", WTMPX_FILENAME); +@@ -91,6 +92,7 @@ if cc.has_header_symbol('utmpx.h', 'WTMPX_FILENAME', prefix: '#define _GNU_SOURC + config_h.set('PATH_WTMP', 'WTMPX_FILENAME') + elif cc.has_header_symbol('paths.h', '_PATH_WTMPX') + code = '''#include ++ #include + int main (int argc, char **argv) { + printf ("%s\n", _PATH_WTMPX); + return 0; +-- +GitLab