diff options
author | 2003-11-04 08:11:02 +0000 | |
---|---|---|
committer | 2003-11-04 08:11:02 +0000 | |
commit | e01d5f42b6670a3259c7ca5fd17abd19dc662d26 (patch) | |
tree | e88f64eda1d64512e154c71d19b9264ce464a503 /games-emulation/daphne/files | |
parent | version bump (diff) | |
download | gentoo-2-e01d5f42b6670a3259c7ca5fd17abd19dc662d26.tar.gz gentoo-2-e01d5f42b6670a3259c7ca5fd17abd19dc662d26.tar.bz2 gentoo-2-e01d5f42b6670a3259c7ca5fd17abd19dc662d26.zip |
patch fix #32586
Diffstat (limited to 'games-emulation/daphne/files')
-rw-r--r-- | games-emulation/daphne/files/0.99.6-local-dapinput.patch | 29 | ||||
-rw-r--r-- | games-emulation/daphne/files/digest-daphne-0.99.6-r2 (renamed from games-emulation/daphne/files/digest-daphne-0.99.6-r1) | 0 |
2 files changed, 22 insertions, 7 deletions
diff --git a/games-emulation/daphne/files/0.99.6-local-dapinput.patch b/games-emulation/daphne/files/0.99.6-local-dapinput.patch index 7867be6712ec..3226ba94bf4a 100644 --- a/games-emulation/daphne/files/0.99.6-local-dapinput.patch +++ b/games-emulation/daphne/files/0.99.6-local-dapinput.patch @@ -1,14 +1,29 @@ ---- src/io/input.cpp.orig 2003-10-30 04:47:16.997745896 -0500 -+++ src/io/input.cpp 2003-10-30 04:47:46.725226632 -0500 -@@ -25,0 +25,1 @@ +--- src/io/input.cpp.orig 2003-11-04 02:51:56.308868080 -0500 ++++ src/io/input.cpp 2003-11-04 02:53:57.283477144 -0500 +@@ -22,6 +22,9 @@ + + // Handles SDL input functions (low-level keyboard/joystick input) + +#include <unistd.h> -@@ -113,7 +113,8 @@ ++#include <sys/stat.h> ++#include <sys/types.h> + #include <time.h> + #include "input.h" + #include "conout.h" +@@ -113,6 +116,9 @@ char strTemp[25] = {0}; char thisChar = 0; -- F = fopen("dapinput.ini", "rt"); + chdir(getenv("HOME")); -+ F = fopen(".dapinput.ini", "rt"); ++ mkdir(".daphne", 0600); ++ chdir(".daphne"); + F = fopen("dapinput.ini", "rt"); // if we opened the file successfully - if (F != NULL) +@@ -589,4 +595,4 @@ + } + idle_timer = refresh_ms_time(); + } +-// end edit +\ No newline at end of file ++// end edit diff --git a/games-emulation/daphne/files/digest-daphne-0.99.6-r1 b/games-emulation/daphne/files/digest-daphne-0.99.6-r2 index 115b93db4360..115b93db4360 100644 --- a/games-emulation/daphne/files/digest-daphne-0.99.6-r1 +++ b/games-emulation/daphne/files/digest-daphne-0.99.6-r2 |