summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-07 01:40:37 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-07 01:41:09 -0400
commit597a59ff60bb76f6b632ffe556dec722a4ca1ee1 (patch)
tree2a0c810cdc945fc6e92fe4fb95e6c3821cf45e69 /games-arcade
parentapp-text/sgrep: fix build with upcoming clang16 (diff)
downloadgentoo-597a59ff60bb76f6b632ffe556dec722a4ca1ee1.tar.gz
gentoo-597a59ff60bb76f6b632ffe556dec722a4ca1ee1.tar.bz2
gentoo-597a59ff60bb76f6b632ffe556dec722a4ca1ee1.zip
games-arcade/conveysdl: fix build with upcoming clang16
Closes: https://bugs.gentoo.org/871048 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/conveysdl/conveysdl-1.3-r2.ebuild1
-rw-r--r--games-arcade/conveysdl/files/conveysdl-1.3-clang16.patch8
2 files changed, 9 insertions, 0 deletions
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)
+ {