commit:     597a59ff60bb76f6b632ffe556dec722a4ca1ee1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 05:40:37 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 05:41:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=597a59ff

games-arcade/conveysdl: fix build with upcoming clang16

Closes: https://bugs.gentoo.org/871048
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-arcade/conveysdl/conveysdl-1.3-r2.ebuild           | 1 +
 games-arcade/conveysdl/files/conveysdl-1.3-clang16.patch | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/games-arcade/conveysdl/conveysdl-1.3-r2.ebuild 
b/games-arcade/conveysdl/conveysdl-1.3-r2.ebuild
index a45ec62f1a9e..54d79cf9b620 100644
--- a/games-arcade/conveysdl/conveysdl-1.3-r2.ebuild
+++ b/games-arcade/conveysdl/conveysdl-1.3-r2.ebuild
@@ -26,6 +26,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-arrays.patch
        "${FILESDIR}"/${P}-audio.patch
        "${FILESDIR}"/${P}-speed.patch
+       "${FILESDIR}"/${P}-clang16.patch
 )
 
 src_compile() {

diff --git a/games-arcade/conveysdl/files/conveysdl-1.3-clang16.patch 
b/games-arcade/conveysdl/files/conveysdl-1.3-clang16.patch
new file mode 100644
index 000000000000..ca050433c474
--- /dev/null
+++ b/games-arcade/conveysdl/files/conveysdl-1.3-clang16.patch
@@ -0,0 +1,8 @@
+https://bugs.gentoo.org/871048
+--- a/main.c
++++ b/main.c
+@@ -70,3 +70,3 @@
+ 
+-int playsound(soundnum)
++int playsound(int soundnum)
+ {

Reply via email to