freebsd-ports/games/yquake2/files/patch-src_common_filesystem.c
Alexey Dokuchaev 37eb44cc9b games/yquake2: new port had been added (Yamagi Quake II)
Yamagi Quake II is advanced port of Icculus Quake II.  It uses SDL2
and therefore can be run in Wayland without any additional tweaks.

PR:	245770 (modified)
2022-03-25 12:44:18 +00:00

12 lines
463 B
C

--- src/common/filesystem.c.orig 2022-01-22 08:51:28 UTC
+++ src/common/filesystem.c
@@ -2029,7 +2029,8 @@ void FS_BuildRawPath(void) {
// binary compiled with SYSTEMWIDE (installed from
// packages), but no systemwide game data.
#ifdef SYSTEMWIDE
- FS_AddDirToRawPath(SYSTEMDIR, false, false);
+ FS_AddDirToRawPath(SYSTEMDATADIR, false, false);
+ FS_AddDirToRawPath(SYSTEMLIBDIR, false, false);
#endif
// The CD must be the last directory of the path,