diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2007-01-29 10:14:29 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2007-01-29 10:14:29 +0000 |
commit | cec49cf8f48420d4e91f2d480cf281bd2d79e999 (patch) | |
tree | 26a0b2f13d3c39b0da0fdcdd6f2fdbf06bdc636e /games/iourbanterror/files/patch-code__unix__unix_main.c | |
parent | 6a1c5fb9a79f259c9737a9bfa2ce5a164672585b (diff) | |
download | ports-4-eol.tar.gz ports-4-eol.zip |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_EOL'.4-eol
Diffstat (limited to 'games/iourbanterror/files/patch-code__unix__unix_main.c')
-rw-r--r-- | games/iourbanterror/files/patch-code__unix__unix_main.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/games/iourbanterror/files/patch-code__unix__unix_main.c b/games/iourbanterror/files/patch-code__unix__unix_main.c deleted file mode 100644 index f539c9649a95..000000000000 --- a/games/iourbanterror/files/patch-code__unix__unix_main.c +++ /dev/null @@ -1,31 +0,0 @@ ---- ./code/unix/unix_main.c.orig Sun Feb 26 18:22:12 2006 -+++ ./code/unix/unix_main.c Sun Jun 11 17:26:26 2006 -@@ -774,6 +774,7 @@ - char curpath[MAX_OSPATH]; - char fname[MAX_OSPATH]; - char *basepath; -+ char *libpath; - char *homepath; - char *pwdpath; - char *cdpath; -@@ -789,14 +790,19 @@ - // TODO: use fs_searchpaths from files.c - pwdpath = Sys_Cwd(); - basepath = Cvar_VariableString( "fs_basepath" ); -+ libpath = LIBDIR; - homepath = Cvar_VariableString( "fs_homepath" ); - cdpath = Cvar_VariableString( "fs_cdpath" ); - gamedir = Cvar_VariableString( "fs_game" ); - -- libHandle = try_dlopen(pwdpath, gamedir, fname, fqpath); -+ if(!libHandle && homepath) -+ libHandle = try_dlopen(pwdpath, gamedir, fname, fqpath); - - if(!libHandle && homepath) - libHandle = try_dlopen(homepath, gamedir, fname, fqpath); -+ -+ if(!libHandle && basepath) -+ libHandle = try_dlopen(libpath, gamedir, fname, fqpath); - - if(!libHandle && basepath) - libHandle = try_dlopen(basepath, gamedir, fname, fqpath); |