From 597a59ff60bb76f6b632ffe556dec722a4ca1ee1 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 7 Oct 2022 01:40:37 -0400 Subject: [PATCH] games-arcade/conveysdl: fix build with upcoming clang16 Closes: https://bugs.gentoo.org/871048 Signed-off-by: Ionen Wolkens --- games-arcade/conveysdl/conveysdl-1.3-r2.ebuild | 1 + games-arcade/conveysdl/files/conveysdl-1.3-clang16.patch | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 games-arcade/conveysdl/files/conveysdl-1.3-clang16.patch diff --git a/games-arcade/conveysdl/conveysdl-1.3-r2.ebuild b/games-arcade/conveysdl/conveysdl-1.3-r2.ebuild index a45ec62f1a9ef..54d79cf9b6209 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 0000000000000..ca050433c4746 --- /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) + {