From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/cuecue/files/, app-cdr/cuecue/
Date: Tue, 22 Nov 2022 03:23:24 +0000 (UTC) [thread overview]
Message-ID: <1669087042.806eccf534d69aa1deaa266ec35491bb89cfa441.sam@gentoo> (raw)
commit: 806eccf534d69aa1deaa266ec35491bb89cfa441
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 22 02:25:02 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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"
next reply other threads:[~2022-11-22 3:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 3:23 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-05-15 7:33 [gentoo-commits] repo/gentoo:master commit in: app-cdr/cuecue/files/, app-cdr/cuecue/ Jeroen Roovers
2016-08-19 6:38 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1669087042.806eccf534d69aa1deaa266ec35491bb89cfa441.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox