diff options
author | Sam James <sam@gentoo.org> | 2022-11-22 02:25:02 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-22 03:17:22 +0000 |
commit | 806eccf534d69aa1deaa266ec35491bb89cfa441 (patch) | |
tree | 4395bda2af279cf731459ccc11bffa8d00787a63 /app-cdr/cuecue | |
parent | dev-libs/newt: add 0.52.22 (diff) | |
download | gentoo-806eccf534d69aa1deaa266ec35491bb89cfa441.tar.gz gentoo-806eccf534d69aa1deaa266ec35491bb89cfa441.tar.bz2 gentoo-806eccf534d69aa1deaa266ec35491bb89cfa441.zip |
app-cdr/cuecue: fix configure w/ clang 16
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-cdr/cuecue')
-rw-r--r-- | app-cdr/cuecue/cuecue-0.2.2-r5.ebuild (renamed from app-cdr/cuecue/cuecue-0.2.2-r4.ebuild) | 12 | ||||
-rw-r--r-- | 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 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" |