diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-09 07:07:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-09 07:07:59 +0000 |
commit | e427dd2f1657881d8ac9737a8af25a74076104e3 (patch) | |
tree | 8589b7ff5fb715793b8a8e39fe3a97fda770adf8 /games-action/0verkill/files | |
parent | experimental fixes that fix crashes in epiphany on amd64 (Manifest recommit) (diff) | |
download | gentoo-2-e427dd2f1657881d8ac9737a8af25a74076104e3.tar.gz gentoo-2-e427dd2f1657881d8ac9737a8af25a74076104e3.tar.bz2 gentoo-2-e427dd2f1657881d8ac9737a8af25a74076104e3.zip |
update the chdir patch #46480
Diffstat (limited to 'games-action/0verkill/files')
-rw-r--r-- | games-action/0verkill/files/0.16-gentoo-paths.patch | 5 |
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); |