diff options
author | Willy Sudiarto Raharjo | 2022-02-07 18:19:55 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2022-02-08 04:28:32 +0100 |
commit | 72005ca8bf834116e07d0aca44161684df7dc69b (patch) | |
tree | 95cab9036b444fb716e1d94cbe813e125d4b5af3 /games/rejoystick/rejoystick.patch | |
parent | dff7c85eef13f16ada611af0dd5b1d6d723d0f62 (diff) | |
download | slackbuilds-72005ca8bf834116e07d0aca44161684df7dc69b.tar.gz |
games/rejoystick: Removed (no maintainer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/rejoystick/rejoystick.patch')
-rw-r--r-- | games/rejoystick/rejoystick.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/games/rejoystick/rejoystick.patch b/games/rejoystick/rejoystick.patch deleted file mode 100644 index a163936aeb..0000000000 --- a/games/rejoystick/rejoystick.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- rejoystick-0.8.1/src/main.c.orig 2014-12-20 06:55:37.951753670 +0700 -+++ rejoystick-0.8.1/src/main.c 2014-12-20 06:56:23.666092712 +0700 -@@ -137,13 +137,9 @@ - - pthread_t sdl_thread; - -- char* home; -- char* keyfile; -- -- home = (char*)getenv("HOME"); -- keyfile = KEYFILE; -- filename = strcat(home, keyfile); -- -+ const char * home = getenv("HOME"); -+ filename = malloc(strlen(home) + strlen(KEYFILE) + 1); -+ sprintf(filename, "%s%s", home, KEYFILE); - global_argv = argv; - - |