summaryrefslogtreecommitdiff
path: root/games-arcade/xrick/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-arcade/xrick/files
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/xrick/files')
-rw-r--r--games-arcade/xrick/files/xrick-021212-exit.patch23
-rw-r--r--games-arcade/xrick/files/xrick-021212-fullscreen.patch21
-rw-r--r--games-arcade/xrick/files/xrick-021212-zlib.patch13
3 files changed, 0 insertions, 57 deletions
diff --git a/games-arcade/xrick/files/xrick-021212-exit.patch b/games-arcade/xrick/files/xrick-021212-exit.patch
deleted file mode 100644
index 4486a969b346..000000000000
--- a/games-arcade/xrick/files/xrick-021212-exit.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -ur xrick-021212/src/sysjoy.c xrick-021212.patched/src/sysjoy.c
---- xrick-021212/src/sysjoy.c 2010-10-23 00:33:33.000000000 +0400
-+++ xrick-021212.patched/src/sysjoy.c 2010-10-23 00:42:25.000000000 +0400
-@@ -56,6 +56,7 @@
- {
- if (j)
- SDL_JoystickClose(j);
-+ j = NULL;
- }
-
- #endif /* ENABLE_JOYSTICK */
-diff -ur xrick-021212/src/xrick.c xrick-021212.patched/src/xrick.c
---- xrick-021212/src/xrick.c 2010-10-23 00:33:33.000000000 +0400
-+++ xrick-021212.patched/src/xrick.c 2010-10-23 00:40:47.000000000 +0400
-@@ -29,7 +29,7 @@
- data_setpath("/usr/games/lib/xrick/data.zip");
- game_run();
- data_closepath();
-- sys_shutdown();
-+ /* sys_shutdown is called via atexit */
- return 0;
- }
-
diff --git a/games-arcade/xrick/files/xrick-021212-fullscreen.patch b/games-arcade/xrick/files/xrick-021212-fullscreen.patch
deleted file mode 100644
index 97271a33a28e..000000000000
--- a/games-arcade/xrick/files/xrick-021212-fullscreen.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ur xrick-021212/src/sysvid.c xrick-021212.patched/src/sysvid.c
---- xrick-021212/src/sysvid.c 2002-12-24 16:33:43.000000000 +0300
-+++ xrick-021212.patched/src/sysvid.c 2011-01-14 03:03:16.636668016 +0300
-@@ -145,10 +145,14 @@
- IFDEBUG_VIDEO(sys_printf("xrick/video: SDL says, use these modes:\n"););
- for (i = 0; modes[i]; i++) {
- IFDEBUG_VIDEO(sys_printf(" %dx%d\n", modes[i]->w, modes[i]->h););
-- if (modes[i]->w <= modes[mode]->w && modes[i]->w >= SYSVID_WIDTH &&
-- modes[i]->h * SYSVID_WIDTH >= modes[i]->w * SYSVID_HEIGHT) {
-+ if ((!fszoom && modes[i]->w <= modes[mode] &&
-+ modes[i]->w >= SYSVID_WIDTH) ||
-+ (fszoom && modes[i]->w > modes[mode]->w)) {
- mode = i;
-- fszoom = modes[mode]->w / SYSVID_WIDTH;
-+ if (modes[i]->h * SYSVID_WIDTH >= modes[i]->w * SYSVID_HEIGHT)
-+ fszoom = modes[mode]->w / SYSVID_WIDTH;
-+ else
-+ fszoom = modes[mode]->h / SYSVID_HEIGHT;
- }
- }
- if (fszoom != 0) {
diff --git a/games-arcade/xrick/files/xrick-021212-zlib.patch b/games-arcade/xrick/files/xrick-021212-zlib.patch
deleted file mode 100644
index bd7d6287925f..000000000000
--- a/games-arcade/xrick/files/xrick-021212-zlib.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/include/unzip.h.old 2012-03-24 16:13:16.012854948 +0100
-+++ b/include/unzip.h 2012-03-24 16:15:42.744346771 +0100
-@@ -49,6 +49,10 @@
- #include "zlib.h"
- #endif
-
-+#ifdef _Z_OF
-+#define OF _Z_OF
-+#endif
-+
- #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
- /* like the STRICT of WIN32, we define a pointer that cannot be converted
- from (void*) without cast */