summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action')
-rw-r--r--games-action/0verkill/files/0.16-gentoo-paths.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/games-action/0verkill/files/0.16-gentoo-paths.patch b/games-action/0verkill/files/0.16-gentoo-paths.patch
index 0ee002bbac0d..63b77e0ffb7e 100644
--- a/games-action/0verkill/files/0.16-gentoo-paths.patch
+++ b/games-action/0verkill/files/0.16-gentoo-paths.patch
@@ -1,12 +1,15 @@
--- sprite.c.orig 2004-01-08 00:42:51.897946128 -0500
+++ sprite.c 2004-01-08 00:43:10.986044296 -0500
-@@ -188,6 +188,9 @@
+@@ -188,6 +188,12 @@
if (!(f=fopen(filename,"rb")))
{
+ chdir(DATA_PATH);
+ }
+ if (!(f=fopen(filename,"rb"))) {
++ chdir(DATA_PATH "/../");
++ }
++ if (!(f=fopen(filename,"rb"))) {
unsigned char msg[256];
snprintf(msg,256,"Error opening file \"%s\"!\n",filename);
ERROR(msg);