From 851b2c3c1af187d6b3621dacb7fa0fcf54e3c780 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 14 Sep 2021 22:22:36 -0400 Subject: 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 --- .../files/spacearyarya-kxl-1.0.2-clang.patch | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'games-action/spacearyarya-kxl/files/spacearyarya-kxl-1.0.2-clang.patch') 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 ++#include + #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); -- cgit v1.2.3-18-g5258