diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /games-arcade/epiar/files | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/epiar/files')
-rw-r--r-- | games-arcade/epiar/files/epiar-0.5-Makefile.linux.patch | 20 | ||||
-rw-r--r-- | games-arcade/epiar/files/epiar-0.5-gcc41.patch | 10 | ||||
-rw-r--r-- | games-arcade/epiar/files/epiar-0.5-paths.patch | 86 | ||||
-rw-r--r-- | games-arcade/epiar/files/epiar-0.5-underlink.patch | 10 |
4 files changed, 0 insertions, 126 deletions
diff --git a/games-arcade/epiar/files/epiar-0.5-Makefile.linux.patch b/games-arcade/epiar/files/epiar-0.5-Makefile.linux.patch deleted file mode 100644 index 3086bd13ef9a..000000000000 --- a/games-arcade/epiar/files/epiar-0.5-Makefile.linux.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.linux.old 2007-04-05 16:42:30 +0000 -+++ Makefile.linux 2007-04-05 16:42:47 +0000 -@@ -24,7 +24,7 @@ - @echo Building Epiar 0.5.0 ... - @$(CC) $(CFLAGS) -I/usr/X11R6/lib/ $(OBJS) -o epiar $(LIBS) - @echo Building plugins ... -- @make -f Makefile.linux plugin -+ @$(MAKE) -f Makefile.linux plugin - @echo Epiar 0.5.0 build complete. - @echo - @echo Type './epiar' to play. -@@ -33,7 +33,7 @@ - @echo Building Epiar 0.5.0 and linking statically ... - @$(CC) $(CFLAGS) -L/usr/X11R6/lib -L/opt/gnome-2.1/lib $(OBJS) -o epiar $(STATIC_LIBS) - @echo Building plugins ... -- @make plugin -+ @$(MAKE) plugin - @echo Epiar 0.5.0 build complete. - @echo - @echo Type './epiar' to play. diff --git a/games-arcade/epiar/files/epiar-0.5-gcc41.patch b/games-arcade/epiar/files/epiar-0.5-gcc41.patch deleted file mode 100644 index 65f08b2691d1..000000000000 --- a/games-arcade/epiar/files/epiar-0.5-gcc41.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/game/game.h.old 2006-04-23 22:13:36.000000000 +0200 -+++ src/game/game.h 2006-04-23 22:13:50.000000000 +0200 -@@ -2,7 +2,6 @@ - #include "includes.h"
-
- extern Uint32 average_loop_time;
--extern Uint32 game_start_time;
- extern Uint32 total_play_time, total_frames_drawn;
- extern float average_session_fps, current_fps;
-
diff --git a/games-arcade/epiar/files/epiar-0.5-paths.patch b/games-arcade/epiar/files/epiar-0.5-paths.patch deleted file mode 100644 index 41266c7272b1..000000000000 --- a/games-arcade/epiar/files/epiar-0.5-paths.patch +++ /dev/null @@ -1,86 +0,0 @@ ---- src/input/input.c -+++ src/input/input.c -@@ -240,7 +240,10 @@ - *
- ******************************************************************************/
- int load_input_cfg(void) {
-- FILE *fp = fopen("./.epiar-input.ecf", "rb");
-+ char filename[PATH_MAX]; -+ FILE *fp; -+ snprintf(filename, sizeof(filename), "%s/.epiar-input.ecf", getenv("HOME")); -+ fp = fopen(filename, "rb");
-
- /* make sure all keys are enabled */
- unlock_keys();
-@@ -282,7 +285,7 @@ - } else {
- float file_version = 0.0f;
- /* read the file into the struct */
-- fp = fopen("./.epiar-input.ecf", "rb");
-+ fp = fopen(filename, "rb");
-
- if (fp == NULL) {
- fprintf(stdout, "Could not open \"./.epiar-input.ecf\" for reading, assuming default bindings.\n");
-@@ -472,10 +475,12 @@ - }
-
- void save_keybindings(void) {
-+ char filename[PATH_MAX]; - float file_version = 0.2f;
- FILE *fp;
-
-- fp = fopen("./.epiar-input.ecf", "wb");
-+ snprintf(filename, sizeof(filename), "%s/.epiar-input.ecf", getenv("HOME")); -+ fp = fopen(filename, "wb");
- if (fp == NULL) {
- fprintf(stdout, "Could not create '~/.epiar-input.ecf' to save keybindings\n");
- return;
---- src/main.c -+++ src/main.c -@@ -16,7 +16,7 @@ - unsigned char view_mode = 0;
- int ship_to_follow = 0;
- int desired_bpp = 16;
--char *game_path;
-+const char * const game_path = "GENTOO_DATADIR";
- unsigned char use_ogl = 0;
- unsigned char skip_intro = 0;
- FILE *epiar_eaf = NULL, *main_eaf = NULL;
-@@ -78,8 +78,6 @@ -
- parse_commandline(argc, argv);
-
-- get_absolute_path(argv[0]);
--
- init(desired_bpp);
-
- menu();
---- src/main.h -+++ src/main.h -@@ -1,2 +1,2 @@ - extern char epiar_version[6];
--extern char *game_path;
-+extern const char * const game_path;
---- src/system/init.c -+++ src/system/init.c -@@ -89,9 +89,6 @@ - main_eaf = NULL;
- }
-
-- assert(game_path != NULL);
-- free(game_path);
-- game_path = NULL;
-
- if (average_loop_time == 0) average_loop_time = 18; /* in case they quit on menu */
- #ifndef NDEBUG
---- src/system/path.c -+++ src/system/path.c -@@ -45,7 +45,7 @@ - }
- #endif
-
--#ifdef LINUX
-+#if 0
- char *strip_path_of_binary(char *argv) {
- int len = 0, i, blen = 0;
- char *stripped = NULL;
diff --git a/games-arcade/epiar/files/epiar-0.5-underlink.patch b/games-arcade/epiar/files/epiar-0.5-underlink.patch deleted file mode 100644 index 13146cb68b27..000000000000 --- a/games-arcade/epiar/files/epiar-0.5-underlink.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile.linux.old 2011-06-22 15:15:50.000000000 +0200 -+++ Makefile.linux 2011-06-22 15:17:01.000000000 +0200 -@@ -1,6 +1,6 @@ - CFLAGS=-W -Wall `sdl-config --cflags` -Isrc/ -DLINUX -DDEVEL -export-dynamic -I/usr/include/SDL -I/usr/local/include/SDL -DBLIT_METHOD_2 -DNAUDIO -O2 -march=pentium4 -pipe -mfpmath=sse -ggdb -Wl,-O1 -Wl,--as-needed - --LIBS=-lm `sdl-config --libs` -lSDL_image -+LIBS=-lm `sdl-config --libs` -lSDL_image -ldl - STATIC_LIBS=-lm /usr/local/lib/libSDL.a /usr/local/lib/libSDL_image.a /usr/local/lib/libSDL_ttf.a /usr/local/lib/libopenal.a /usr/local/lib/libvorbisfile.a /usr/local/lib/libvorbis.a /usr/local/lib/libogg.a /usr/lib/libpng.a /usr/lib/libz.a -lpthread -ldl -lfreetype /usr/lib/libjpeg.a -lX11 -lXext -lesd - - OBJS=main.o init.o video.o backbuffer.o debug.o audio.o linux_video.o \ |