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 90AF315800F for ; Wed, 4 Jan 2023 04:32:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90785E0863; Wed, 4 Jan 2023 04:32:46 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 78B59E085B for ; Wed, 4 Jan 2023 04:32:46 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 19550340E83 for ; Wed, 4 Jan 2023 04:32:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63EEA828 for ; Wed, 4 Jan 2023 04:32:42 +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: <1672806720.bb73d2900a3e83433ee1ea76c19f5d17be096821.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile/, dev-scheme/guile/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-scheme/guile/files/guile-3.0.8-configure-clang16.patch dev-scheme/guile/guile-3.0.8-r1.ebuild dev-scheme/guile/guile-3.0.8.ebuild X-VCS-Directories: dev-scheme/guile/files/ dev-scheme/guile/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bb73d2900a3e83433ee1ea76c19f5d17be096821 X-VCS-Branch: master Date: Wed, 4 Jan 2023 04:32:42 +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: 798de452-e44d-4ba6-b713-e4eaefffcf16 X-Archives-Hash: ddace1f8246604926bad2a83e53d0fa9 commit: bb73d2900a3e83433ee1ea76c19f5d17be096821 Author: Sam James gentoo org> AuthorDate: Wed Jan 4 04:13:57 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jan 4 04:32:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb73d290 dev-scheme/guile: fix configure w/ clang 16 (3.0.x) Signed-off-by: Sam James gentoo.org> .../files/guile-3.0.8-configure-clang16.patch | 32 ++++++++++++++++++++++ .../{guile-3.0.8.ebuild => guile-3.0.8-r1.ebuild} | 20 ++++++++++---- 2 files changed, 47 insertions(+), 5 deletions(-) diff --git a/dev-scheme/guile/files/guile-3.0.8-configure-clang16.patch b/dev-scheme/guile/files/guile-3.0.8-configure-clang16.patch new file mode 100644 index 000000000000..6a4cc770dfae --- /dev/null +++ b/dev-scheme/guile/files/guile-3.0.8-configure-clang16.patch @@ -0,0 +1,32 @@ +https://src.fedoraproject.org/rpms/guile30/c/47f608ff4988547350e722606890698e3ec59e95?branch=rawhide + +Avoid implicit ints in the guile_cv_localtime_cache check. It cause +the check to always fail with strict(er) C99 compilers that do not +support implicit int. + +Submitted upstream: + + + + +--- a/configure.ac ++++ b/configure.ac +@@ -1086,7 +1086,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + # include + #endif + extern char **environ; +-unset_TZ () ++int unset_TZ () + { + char **from, **to; + for (to = from = environ; (*to = *from); from++) +@@ -1095,7 +1095,7 @@ unset_TZ () + } + char TZ_GMT0[] = "TZ=GMT0"; + char TZ_PST8[] = "TZ=PST8"; +-main() ++int main() + { + time_t now = time ((time_t *) 0); + int hour_GMT0, hour_unset; + diff --git a/dev-scheme/guile/guile-3.0.8.ebuild b/dev-scheme/guile/guile-3.0.8-r1.ebuild similarity index 89% rename from dev-scheme/guile/guile-3.0.8.ebuild rename to dev-scheme/guile/guile-3.0.8-r1.ebuild index ae641ae3cfb4..9b6beb93e876 100644 --- a/dev-scheme/guile/guile-3.0.8.ebuild +++ b/dev-scheme/guile/guile-3.0.8-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit autotools + MAJOR="3.0" DESCRIPTION="GNU Ubiquitous Intelligent Language for Extensions" HOMEPAGE="https://www.gnu.org/software/guile/" @@ -31,15 +33,23 @@ BDEPEND=" sys-devel/libtool sys-devel/gettext" +# guile generates ELF files without use of C or machine code +# It's false positive. bug #677600 +QA_PREBUILT='*[.]go' + +DOCS=( GUILE-VERSION HACKING README ) + PATCHES=( "${FILESDIR}/${PN}-2.2.3-gentoo-sandbox.patch" + "${FILESDIR}/${P}-configure-clang16.patch" ) -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_PREBUILT='*[.]go' +src_prepare() { + default -DOCS=( GUILE-VERSION HACKING README ) + # Can drop once guile-3.0.8-configure-clang16.patch merged + eautoreconf +} src_configure() { # see bug #676468