summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-09-14 22:22:36 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-09-14 22:42:00 -0400
commit851b2c3c1af187d6b3621dacb7fa0fcf54e3c780 (patch)
tree9ceaf291f04e1a0ad14767d29085b723a22bfa36 /games-action/spacearyarya-kxl/files/spacearyarya-kxl-1.0.2-clang.patch
parentgames-arcade/grande-KXL: EAPI6->8, use gamestat, add font dep (diff)
downloadgentoo-851b2c3c1af187d6b3621dacb7fa0fcf54e3c780.tar.gz
gentoo-851b2c3c1af187d6b3621dacb7fa0fcf54e3c780.tar.bz2
gentoo-851b2c3c1af187d6b3621dacb7fa0fcf54e3c780.zip
games-action/spacearyarya-kxl: EAPI6->8, use gamestat, add font dep
Removed paths patch that was mostly for /usr/games, and instead require use install-data target and remove .score (replaced by a score file in /var/games that can now be written to). Add media-fonts/font-bitstream-100dpi as it'd crash (later) without. Also fix .desktop icon, bmp is not valid for XDG icons. This brings the ebuild/patch layout more identical to geki2/3 given this game is actually geki4. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-action/spacearyarya-kxl/files/spacearyarya-kxl-1.0.2-clang.patch')
-rw-r--r--games-action/spacearyarya-kxl/files/spacearyarya-kxl-1.0.2-clang.patch22
1 files changed, 15 insertions, 7 deletions
diff --git a/games-action/spacearyarya-kxl/files/spacearyarya-kxl-1.0.2-clang.patch b/games-action/spacearyarya-kxl/files/spacearyarya-kxl-1.0.2-clang.patch
index 3b9b68b745c..7115b4a2382 100644
--- a/games-action/spacearyarya-kxl/files/spacearyarya-kxl-1.0.2-clang.patch
+++ b/games-action/spacearyarya-kxl/files/spacearyarya-kxl-1.0.2-clang.patch
@@ -1,11 +1,19 @@
---- a/src/ranking.c.bak 2016-07-27 16:42:34.367945713 -0500
-+++ b/src/ranking.c 2016-07-27 16:43:34.679949783 -0500
-@@ -5,7 +5,7 @@
- /**********************
- スコアランキング
+Use void so that clang does not complain about missing (unused)
+return value, and also add missing string.h.
+--- a/src/ranking.c
++++ b/src/ranking.c
+@@ -1,2 +1,3 @@
+ #include <pwd.h>
++#include <string.h>
+ #include "geki4.h"
+@@ -7,3 +8,3 @@
**********************/
-int ScoreRanking(void)
+void ScoreRanking(void)
{
- Uint16 i, j, k;
- struct passwd *pw;
+--- a/src/ranking.h
++++ b/src/ranking.h
+@@ -3,2 +3,3 @@
+
++void ScoreRanking(void);
+ void RankingScore(void);