From 089688949fbd09c9274c2543ef4772783b05f68c Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Mon, 30 Jun 2003 08:55:39 +0000 Subject: Fix latest update Submitted by: maintainer PR: 53893 Approved by: fjoe (mentor) (implicit) --- games/quake2lnx/files/patch-qcommon::files.c | 14 -------------- games/quake2lnx/files/patch-src::qcommon::files.c | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 games/quake2lnx/files/patch-qcommon::files.c create mode 100644 games/quake2lnx/files/patch-src::qcommon::files.c (limited to 'games/quake2lnx/files') diff --git a/games/quake2lnx/files/patch-qcommon::files.c b/games/quake2lnx/files/patch-qcommon::files.c deleted file mode 100644 index a9af2f9de20b..000000000000 --- a/games/quake2lnx/files/patch-qcommon::files.c +++ /dev/null @@ -1,14 +0,0 @@ ---- qcommon/files.c.orig Wed Oct 9 03:54:25 2002 -+++ qcommon/files.c Sat Jun 28 12:30:57 2003 -@@ -898,7 +898,11 @@ - // basedir - // allows the game to run from outside the data tree - // -+#ifdef DEDICATED_ONLY - fs_basedir = Cvar_Get ("basedir", ".", CVAR_NOSET); -+#else -+ fs_basedir = Cvar_Get ("basedir", "%%%%BASEDIR%%%%", CVAR_NOSET); -+#endif - - // - // cddir diff --git a/games/quake2lnx/files/patch-src::qcommon::files.c b/games/quake2lnx/files/patch-src::qcommon::files.c new file mode 100644 index 000000000000..db9829b74fba --- /dev/null +++ b/games/quake2lnx/files/patch-src::qcommon::files.c @@ -0,0 +1,14 @@ +--- src/qcommon/files.c.orig Wed Oct 9 03:54:25 2002 ++++ src/qcommon/files.c Sat Jun 28 12:30:57 2003 +@@ -898,7 +898,11 @@ + // basedir + // allows the game to run from outside the data tree + // ++#ifdef DEDICATED_ONLY + fs_basedir = Cvar_Get ("basedir", ".", CVAR_NOSET); ++#else ++ fs_basedir = Cvar_Get ("basedir", "%%%%BASEDIR%%%%", CVAR_NOSET); ++#endif + + // + // cddir -- cgit v1.2.3