mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
games-arcade/grande-KXL: fix build w/ upcoming clang16
Closes: https://bugs.gentoo.org/874990 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
27
games-arcade/grande-KXL/files/grande-KXL-0.6-clang16.patch
Normal file
27
games-arcade/grande-KXL/files/grande-KXL-0.6-clang16.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
https://bugs.gentoo.org/874990
|
||||
--- a/src/enemy.c
|
||||
+++ b/src/enemy.c
|
||||
@@ -984,3 +984,3 @@
|
||||
{
|
||||
- static fr[8] = {0, 0, 1, 1 ,2, 2, 1, 1};
|
||||
+ static Uint8 fr[8] = {0, 0, 1, 1 ,2, 2, 1, 1};
|
||||
|
||||
--- a/src/grande.h
|
||||
+++ b/src/grande.h
|
||||
@@ -13,2 +13,3 @@
|
||||
#include <sys/types.h>
|
||||
+#include <time.h>
|
||||
#include <unistd.h>
|
||||
--- a/src/my.c
|
||||
+++ b/src/my.c
|
||||
@@ -527,3 +527,3 @@
|
||||
{
|
||||
- static fr[8] = {0, 1, 0, 1, 2, 1, 2, 3};
|
||||
+ static Uint8 fr[8] = {0, 1, 0, 1, 2, 1, 2, 3};
|
||||
|
||||
--- a/src/ranking.h
|
||||
+++ b/src/ranking.h
|
||||
@@ -10,2 +10,3 @@
|
||||
void RankingScore(void);
|
||||
+void ScoreRanking(void);
|
||||
void ReadScore(void);
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -25,6 +25,7 @@ RDEPEND="${DEPEND}
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-cflags.patch
|
||||
"${FILESDIR}"/${P}-paths.patch
|
||||
"${FILESDIR}"/${P}-clang16.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
Reference in New Issue
Block a user