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 80B0E158094 for ; Mon, 3 Oct 2022 00:38:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 784D7E08EB; Mon, 3 Oct 2022 00:38:25 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5ED24E08EB for ; Mon, 3 Oct 2022 00:38:25 +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 474E4340EC3 for ; Mon, 3 Oct 2022 00:38:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 804FD5F8 for ; Mon, 3 Oct 2022 00:38:22 +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: <1664757489.7aade44ba5794c724a4220949d76455f4c1db1d6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/global/, dev-util/global/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/global/files/global-6.6.4-Fix-build-with-Clang-16.patch dev-util/global/global-6.6.4.ebuild X-VCS-Directories: dev-util/global/ dev-util/global/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7aade44ba5794c724a4220949d76455f4c1db1d6 X-VCS-Branch: master Date: Mon, 3 Oct 2022 00:38:22 +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: f3eaa596-cf3b-44f0-9f97-b6a2c1abc214 X-Archives-Hash: 3b257049972d1329f5ab74a16d62325a commit: 7aade44ba5794c724a4220949d76455f4c1db1d6 Author: Sam James gentoo org> AuthorDate: Sun Oct 2 22:35:31 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Oct 3 00:38:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aade44b dev-util/global: fix build with Clang 16 Closes: https://bugs.gentoo.org/870988 Signed-off-by: Sam James gentoo.org> .../files/global-6.6.4-Fix-build-with-Clang-16.patch | 19 +++++++++++++++++++ dev-util/global/global-6.6.4.ebuild | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/dev-util/global/files/global-6.6.4-Fix-build-with-Clang-16.patch b/dev-util/global/files/global-6.6.4-Fix-build-with-Clang-16.patch new file mode 100644 index 000000000000..a0398b46295b --- /dev/null +++ b/dev-util/global/files/global-6.6.4-Fix-build-with-Clang-16.patch @@ -0,0 +1,19 @@ +From 13f045457f08e349d6bb3f3e98a3b59c73f32bbc Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sun, 2 Oct 2022 23:34:05 +0100 +Subject: [PATCH] Fix build with Clang 16 + +Bug: https://lists.gnu.org/archive/html/bug-global/2021-02/msg00012.html +Bug: https://bugs.gentoo.org/870988 +--- a/configure.ac ++++ b/configure.ac +@@ -74,7 +74,8 @@ case "$host_os" in + AC_MSG_CHECKING(whether POSIX.1-2008 realpath is equipped) + AC_CACHE_VAL(ac_cv_posix1_2008_realpath, + [AC_RUN_IFELSE([AC_LANG_SOURCE([[ +-main(){ (void)realpath("/./tmp", (void *)0); return 0; } ++#include ++int main(){ (void)realpath("/./tmp", (void *)0); return 0; } + ]])],[ac_cv_posix1_2008_realpath=yes], + [ac_cv_posix1_2008_realpath=no])]) + AC_MSG_RESULT($ac_cv_posix1_2008_realpath) diff --git a/dev-util/global/global-6.6.4.ebuild b/dev-util/global/global-6.6.4.ebuild index 48f5dfdc0a92..1343cfa448b5 100644 --- a/dev-util/global/global-6.6.4.ebuild +++ b/dev-util/global/global-6.6.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -38,6 +38,7 @@ SITEFILE="50gtags-gentoo.el" PATCHES=( "${FILESDIR}/${PN}-6.2.9-tinfo.patch" "${FILESDIR}/${PN}-6.6.4-fno-common.patch" + "${FILESDIR}/${PN}-6.6.4-Fix-build-with-Clang-16.patch" ) DOCS=( AUTHORS FAQ NEWS README THANKS )