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 6D31A158020 for ; Tue, 22 Nov 2022 03:23:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BECC0E088F; Tue, 22 Nov 2022 03:23:27 +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 A2D29E088F for ; Tue, 22 Nov 2022 03:23:27 +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 A3C1D340FF0 for ; Tue, 22 Nov 2022 03:23:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65E47731 for ; Tue, 22 Nov 2022 03:23:24 +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: <1669087042.806eccf534d69aa1deaa266ec35491bb89cfa441.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/cuecue/files/, app-cdr/cuecue/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-cdr/cuecue/cuecue-0.2.2-r4.ebuild app-cdr/cuecue/cuecue-0.2.2-r5.ebuild app-cdr/cuecue/files/cuecue-0.2.2-configure.patch X-VCS-Directories: app-cdr/cuecue/files/ app-cdr/cuecue/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 806eccf534d69aa1deaa266ec35491bb89cfa441 X-VCS-Branch: master Date: Tue, 22 Nov 2022 03:23:24 +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: 8f171c07-f730-4be4-895b-cfbe7cd54a36 X-Archives-Hash: c43fe3a6fa6b5879246e1cb7bc0b87a4 commit: 806eccf534d69aa1deaa266ec35491bb89cfa441 Author: Sam James gentoo org> AuthorDate: Tue Nov 22 02:25:02 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Nov 22 03:17:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=806eccf5 app-cdr/cuecue: fix configure w/ clang 16 Signed-off-by: Sam James gentoo.org> .../{cuecue-0.2.2-r4.ebuild => cuecue-0.2.2-r5.ebuild} | 12 ++++++++++-- app-cdr/cuecue/files/cuecue-0.2.2-configure.patch | 13 +++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/app-cdr/cuecue/cuecue-0.2.2-r4.ebuild b/app-cdr/cuecue/cuecue-0.2.2-r5.ebuild similarity index 88% rename from app-cdr/cuecue/cuecue-0.2.2-r4.ebuild rename to app-cdr/cuecue/cuecue-0.2.2-r5.ebuild index 72d3a48deb62..24e5f7cca2ac 100644 --- a/app-cdr/cuecue/cuecue-0.2.2-r4.ebuild +++ b/app-cdr/cuecue/cuecue-0.2.2-r5.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit toolchain-funcs +inherit autotools toolchain-funcs DESCRIPTION="Cuecue converts .cue + [.ogg|.flac|.wav|.mp3] to .cue + .bin" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" @@ -30,8 +30,16 @@ PATCHES=( "${FILESDIR}"/${P}-namespace.patch "${FILESDIR}"/${P}-unused.patch "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${P}-configure.patch ) +src_prepare() { + default + + # Clang 16 + eautoreconf +} + src_configure() { econf \ $(use_enable flac) \ diff --git a/app-cdr/cuecue/files/cuecue-0.2.2-configure.patch b/app-cdr/cuecue/files/cuecue-0.2.2-configure.patch new file mode 100644 index 000000000000..d0a9864228aa --- /dev/null +++ b/app-cdr/cuecue/files/cuecue-0.2.2-configure.patch @@ -0,0 +1,13 @@ +-ansi -pednatic breaks various configure tests. autoconf already says +not to use -Werror but any -W* is dangerous for configure itself. +--- a/configure.in ++++ b/configure.in +@@ -4,7 +4,7 @@ dnl AM_INIT_AUTOMAKE + + AC_CONFIG_SRCDIR(src/libcuecue/cuecue.c) + +-CFLAGS="$CFLAGS -Wall -ansi -pedantic -g -Os" ++CFLAGS="-Wall -O2 ${CFLAGS}" + VERSION=0.2.2 + + PACKAGE="cuecue"