games-arcade/conveysdl: fix build with upcoming clang16

Closes: https://bugs.gentoo.org/871048
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-10-07 01:40:37 -04:00
parent 3fb9bc966a
commit 597a59ff60
2 changed files with 9 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ PATCHES=(
"${FILESDIR}"/${P}-arrays.patch
"${FILESDIR}"/${P}-audio.patch
"${FILESDIR}"/${P}-speed.patch
"${FILESDIR}"/${P}-clang16.patch
)
src_compile() {

View File

@@ -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)
{