diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2021-09-14 17:09:34 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-09-14 22:40:36 -0400 |
commit | eac91b797c30a05d5e13e1a6c1687ae5bd4b06c8 (patch) | |
tree | 058370b4901174d40f97191c749bd0e3db59eb94 /games-action/geki2-KXL/files | |
parent | app-admin/conky: Keyword 1.12.2 arm64, #809704 (diff) | |
download | gentoo-eac91b797c30a05d5e13e1a6c1687ae5bd4b06c8.tar.gz gentoo-eac91b797c30a05d5e13e1a6c1687ae5bd4b06c8.tar.bz2 gentoo-eac91b797c30a05d5e13e1a6c1687ae5bd4b06c8.zip |
games-action/geki2-KXL: EAPI6->8, fix clang/fonts, cleanup patches
Removed paths patch that was mostly for /usr/games, and instead
require a smaller workaround to install-data and remove .score.
Add media-fonts/font-bitstream-100dpi as it'd crash (later) without.
Closes: https://bugs.gentoo.org/730848
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-action/geki2-KXL/files')
3 files changed, 23 insertions, 46 deletions
diff --git a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-cflags.patch b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-cflags.patch index d00f8d439c80..e5e04cad6e73 100644 --- a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-cflags.patch +++ b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-cflags.patch @@ -1,5 +1,6 @@ ---- a/src/Makefile.am 2012-11-10 21:50:02.159117541 +0100 -+++ b/src/Makefile.am 2012-11-10 21:50:20.658715770 +0100 +https://bugs.gentoo.org/437992 +--- a/src/Makefile.am ++++ b/src/Makefile.am @@ -4,5 +4,5 @@ boss.h extern.h ranking.h your.h game.h\ geki2.h load.h opening.h my.h misc.h diff --git a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang.patch b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang.patch new file mode 100644 index 000000000000..5d621e2de638 --- /dev/null +++ b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang.patch @@ -0,0 +1,20 @@ +Use void so that clang does not complain about missing (unused) +return value, and also add missing string.h. +https://bugs.gentoo.org/730848 +--- a/src/ranking.c ++++ b/src/ranking.c +@@ -1,2 +1,3 @@ + #include <pwd.h>
++#include <string.h>
+ #include "geki2.h"
+@@ -7,3 +8,3 @@ + **********************/
+-int ScoreRanking(void)
++void ScoreRanking(void)
+ {
+--- a/src/ranking.h ++++ b/src/ranking.h +@@ -3,2 +3,3 @@ + ++void ScoreRanking(void); + void RankingScore(void); diff --git a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch deleted file mode 100644 index 22844202bb2c..000000000000 --- a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- a/bmp/Makefile.am -+++ b/bmp/Makefile.am -@@ -1,4 +1,4 @@ --bmpdir = $(prefix)/share/geki2/bmp -+bmpdir = $(BMP_PATH) - bmp_DATA = back1.bmp boss2.bmp enemyshot4.bmp kuru.bmp myshot.bmp back2.bmp\ - boss3.bmp enemyshot5.bmp mboss.bmp uraura.bmp back3.bmp\ - boss3laser.bmp flash.bmp uturn.bmp back4.bmp back6.bmp boss6.bmp\ ---- a/configure.in -+++ b/configure.in -@@ -25,9 +25,9 @@ - BMP_PATH=/usr/local/share/geki2/bmp - WAV_PATH=/usr/local/share/geki2/wav - else -- DATA_PATH=$prefix/share/geki2/data -- BMP_PATH=$prefix/share/geki2/bmp -- WAV_PATH=$prefix/share/geki2/wav -+ DATA_PATH=$datadir/geki2/data -+ BMP_PATH=$datadir/geki2/bmp -+ WAV_PATH=$datadir/geki2/wav - fi - AC_DEFINE_UNQUOTED(DATA_PATH,"$DATA_PATH") - AC_DEFINE_UNQUOTED(BMP_PATH,"$BMP_PATH") ---- a/data/Makefile.am -+++ b/data/Makefile.am -@@ -1,9 +1,7 @@ --datadir = $(prefix)/share/geki2/data -+datadir = $(DATA_PATH) - data_DATA = stage1.dat stage2.dat stage3.dat stage4.dat stage5.dat stage6.dat\ - map1.dat map2.dat map3.dat map4.dat map5.dat map6.dat - EXTRA_DIST = stage1.dat stage2.dat stage3.dat stage4.dat stage5.dat stage6.dat\ - map1.dat map2.dat map3.dat map4.dat map5.dat map6.dat .score - --install: -- $(INSTALL) -c -m 666 ./.score $(DESTDIR)$(DATA_PATH) - ---- a/wav/Makefile.am -+++ b/wav/Makefile.am -@@ -1,4 +1,4 @@ --wavdir = $(prefix)/share/geki2/wav -+wavdir = $(WAV_PATH) - wav_DATA = bgm1.wav bgm2.wav bgm3.wav bgm4.wav bgm5.wav\ - bomb.wav laser5.wav warning.wav boss.wav open.wav\ - laser.wav pow.wav go.wav bgm6.wav |