games-engines/xzip: fix build w/ upcoming clang16

Closes: https://bugs.gentoo.org/874906
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-11-20 19:18:38 -05:00
parent 1e35abf116
commit c519615b50
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
Ideally belongs in xio.h, but using requires including more headers.
https://bugs.gentoo.org/874906
--- a/osdepend.c
+++ b/osdepend.c
@@ -13,2 +13,4 @@
+void xio_bell();
+
/* File names will be O/S dependent */

View File

@@ -19,6 +19,10 @@ RDEPEND=${DEPEND}
S="${WORKDIR}/xzip"
PATCHES=(
"${FILESDIR}"/${P}-clang16.patch
)
src_compile() {
tc-export CC
emake \