commit: 32fa31740cf48c8aaac92fdabbef28b5454cc62d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Apr 28 05:57:20 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Apr 28 06:04:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32fa3174
media-libs/libcuefile: fix build w/ clang 16 Closes: https://bugs.gentoo.org/871588 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/libcuefile/files/libcuefile-477-clang16.patch | 14 ++++++++++++++ .../{libcuefile-477-r2.ebuild => libcuefile-477-r3.ebuild} | 7 +++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/media-libs/libcuefile/files/libcuefile-477-clang16.patch b/media-libs/libcuefile/files/libcuefile-477-clang16.patch new file mode 100644 index 000000000000..a89ccac52904 --- /dev/null +++ b/media-libs/libcuefile/files/libcuefile-477-clang16.patch @@ -0,0 +1,14 @@ +https://src.fedoraproject.org/rpms/libcuefile/blob/7dd8752f5aa2dccbaccb4c28a23f659df3bc0d19/f/libcuefile-fedora-c99.patch +https://bugs.gentoo.org/871588 +--- a/src/cue_parse.c ++++ b/src/cue_parse.c +@@ -1513,6 +1513,8 @@ void yyerror (char *s) + fprintf(stderr, "%d: %s\n", cue_lineno, s); + } + ++void cue_delete_buffer(void); ++ + Cd *cue_parse (FILE *fp) + { + cue_yyin = fp; + diff --git a/media-libs/libcuefile/libcuefile-477-r2.ebuild b/media-libs/libcuefile/libcuefile-477-r3.ebuild similarity index 82% rename from media-libs/libcuefile/libcuefile-477-r2.ebuild rename to media-libs/libcuefile/libcuefile-477-r3.ebuild index 3ce4ca74df21..482b7df5d044 100644 --- a/media-libs/libcuefile/libcuefile-477-r2.ebuild +++ b/media-libs/libcuefile/libcuefile-477-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,10 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -PATCHES=( "${FILESDIR}"/${PN}-static-libs.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-static-libs.patch + "${FILESDIR}"/${PN}-477-clang16.patch +) src_install() { cmake_src_install