diff options
Diffstat (limited to 'games/ioquake3/files/patch-code-qcommon-files.c')
-rw-r--r-- | games/ioquake3/files/patch-code-qcommon-files.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/games/ioquake3/files/patch-code-qcommon-files.c b/games/ioquake3/files/patch-code-qcommon-files.c index 34bb2996f3b3..be48d4f46238 100644 --- a/games/ioquake3/files/patch-code-qcommon-files.c +++ b/games/ioquake3/files/patch-code-qcommon-files.c @@ -1,23 +1,18 @@ ---- code/qcommon/files.c.orig 2009-08-30 22:58:50.000000000 +0200 -+++ code/qcommon/files.c 2009-08-30 23:10:53.000000000 +0200 -@@ -241,6 +241,9 @@ +--- code/qcommon/files.c.orig 2009-12-08 11:07:08.000000000 +0100 ++++ code/qcommon/files.c 2009-12-08 11:08:41.000000000 +0100 +@@ -241,6 +241,7 @@ #endif static cvar_t *fs_basepath; -+#ifdef __FreeBSD__ +static cvar_t *fs_libpath; -+#endif static cvar_t *fs_basegame; static cvar_t *fs_gamedirvar; static searchpath_t *fs_searchpaths; -@@ -2761,6 +2764,10 @@ +@@ -2761,6 +2762,7 @@ fs_debug = Cvar_Get( "fs_debug", "0", 0 ); fs_basepath = Cvar_Get ("fs_basepath", Sys_DefaultInstallPath(), CVAR_INIT ); fs_basegame = Cvar_Get ("fs_basegame", "", CVAR_INIT ); -+ #ifdef __FreeBSD__ + fs_libpath = Cvar_Get ("fs_libpath", Sys_DefaultLibPath(), CVAR_INIT ); -+ #endif -+ homePath = Sys_DefaultHomePath(); if (!homePath || !homePath[0]) { homePath = fs_basepath->string; |