mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
9
games-engines/xzip/files/xzip-1.8.2-clang16.patch
Normal file
9
games-engines/xzip/files/xzip-1.8.2-clang16.patch
Normal 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 */
|
||||
@@ -19,6 +19,10 @@ RDEPEND=${DEPEND}
|
||||
|
||||
S="${WORKDIR}/xzip"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-clang16.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake \
|
||||
Reference in New Issue
Block a user