diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-arcade/xrick/files/xrick-021212-exit.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/xrick/files/xrick-021212-exit.patch')
-rw-r--r-- | games-arcade/xrick/files/xrick-021212-exit.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/games-arcade/xrick/files/xrick-021212-exit.patch b/games-arcade/xrick/files/xrick-021212-exit.patch new file mode 100644 index 000000000000..4486a969b346 --- /dev/null +++ b/games-arcade/xrick/files/xrick-021212-exit.patch @@ -0,0 +1,23 @@ +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; + } + |