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 C717E158020 for ; Wed, 23 Nov 2022 00:48:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D178BE0BE9; Wed, 23 Nov 2022 00:48:44 +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 BD24CE0BE9 for ; Wed, 23 Nov 2022 00:48:44 +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 9CE11341373 for ; Wed, 23 Nov 2022 00:48:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6EB6755 for ; Wed, 23 Nov 2022 00:48:41 +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: <1669163348.f28a75cf5d8f637bfa798c72c64eaa964909cc28.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/, dev-tcltk/snack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch dev-tcltk/snack/snack-2.2.10-r10.ebuild dev-tcltk/snack/snack-2.2.10-r9.ebuild X-VCS-Directories: dev-tcltk/snack/ dev-tcltk/snack/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f28a75cf5d8f637bfa798c72c64eaa964909cc28 X-VCS-Branch: master Date: Wed, 23 Nov 2022 00:48:41 +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: 28c6d37a-3293-466d-9910-bf7b6b84ef68 X-Archives-Hash: 283becce95979621df0480f562e9fe40 commit: f28a75cf5d8f637bfa798c72c64eaa964909cc28 Author: Sam James gentoo org> AuthorDate: Wed Nov 23 00:13:14 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Nov 23 00:29:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28a75cf dev-tcltk/snack: fix configure w/ clang 16 Signed-off-by: Sam James gentoo.org> dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch | 12 ++++++++++++ .../{snack-2.2.10-r9.ebuild => snack-2.2.10-r10.ebuild} | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch b/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch new file mode 100644 index 000000000000..e038bf570abf --- /dev/null +++ b/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch @@ -0,0 +1,12 @@ +Issue in autoconf which is already fixed upstream but we can't autoreconf, +it seems. +--- a/unix/configure ++++ b/unix/configure +@@ -2928,6 +2928,7 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include ++#include + #if ((' ' & 0x0FF) == 0x020) + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r10.ebuild similarity index 93% rename from dev-tcltk/snack/snack-2.2.10-r9.ebuild rename to dev-tcltk/snack/snack-2.2.10-r10.ebuild index d95bd49e31da..4bed77e60cd6 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r10.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9,10} ) DISTUTILS_OPTIONAL=yes -inherit distutils-r1 toolchain-funcs virtualx +inherit distutils-r1 flag-o-matic toolchain-funcs virtualx DESCRIPTION="The Snack Sound Toolkit (Tcl)" HOMEPAGE="http://www.speech.kth.se/snack/" @@ -38,6 +38,7 @@ PATCHES=( "${FILESDIR}"/${PN}${PV}-seektell-fix.patch "${FILESDIR}"/tcl-${P}-python3.patch "${FILESDIR}"/${P}-lto.patch + "${FILESDIR}"/${P}-configure-clang16.patch ) HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*" @@ -66,6 +67,9 @@ src_prepare() { } src_configure() { + # For Clang 16, bunch of -Wimplicit-int, etc + append-flags -std=gnu89 + local myconf="" use alsa && myconf+=" --enable-alsa"