mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
media-libs/libcuefile: fix build w/ clang 16
Closes: https://bugs.gentoo.org/871588 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
+5
-2
@@ -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
|
||||
Reference in New Issue
Block a user