diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-11-20 19:18:38 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-11-20 19:19:01 -0500 |
commit | c519615b50883fa073847cdace575e98252fd3b1 (patch) | |
tree | 7e66ecda4b6b4af38b246824495987deb3e73e4e /games-engines | |
parent | media-sound/wavegain: EAPI7->8, fix build w/ upcoming clang16 (diff) | |
download | gentoo-c519615b50883fa073847cdace575e98252fd3b1.tar.gz gentoo-c519615b50883fa073847cdace575e98252fd3b1.tar.bz2 gentoo-c519615b50883fa073847cdace575e98252fd3b1.zip |
games-engines/xzip: fix build w/ upcoming clang16
Closes: https://bugs.gentoo.org/874906
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/xzip/files/xzip-1.8.2-clang16.patch | 9 | ||||
-rw-r--r-- | games-engines/xzip/xzip-1.8.2-r4.ebuild (renamed from games-engines/xzip/xzip-1.8.2-r3.ebuild) | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/games-engines/xzip/files/xzip-1.8.2-clang16.patch b/games-engines/xzip/files/xzip-1.8.2-clang16.patch new file mode 100644 index 000000000000..ce702ba3e86e --- /dev/null +++ b/games-engines/xzip/files/xzip-1.8.2-clang16.patch @@ -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 */ diff --git a/games-engines/xzip/xzip-1.8.2-r3.ebuild b/games-engines/xzip/xzip-1.8.2-r4.ebuild index 50bfddd967c0..04394c46e036 100644 --- a/games-engines/xzip/xzip-1.8.2-r3.ebuild +++ b/games-engines/xzip/xzip-1.8.2-r4.ebuild @@ -19,6 +19,10 @@ RDEPEND=${DEPEND} S="${WORKDIR}/xzip" +PATCHES=( + "${FILESDIR}"/${P}-clang16.patch +) + src_compile() { tc-export CC emake \ |