summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-09 07:07:59 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-09 07:07:59 +0000
commitff3ee48752c424d0fd13ab1a414a9ce5054d468e (patch)
tree8dd492d581ef7436acb4f6f83f16a20cca23f959 /games-action
parentexperimental fixes that fix crashes in epiphany on amd64 (diff)
downloadhistorical-ff3ee48752c424d0fd13ab1a414a9ce5054d468e.tar.gz
historical-ff3ee48752c424d0fd13ab1a414a9ce5054d468e.tar.bz2
historical-ff3ee48752c424d0fd13ab1a414a9ce5054d468e.zip
update the chdir patch #46480
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);