void-packages/srcpkgs/gzdoom/patches/pk3location.patch
classabbyamp 9ab1405894
*: remove unnecessary execute permissions
* INSTALL scripts don't need to be executable
* anything installed by vbin is set to 755
* many of these files were otherwise marked executable in the template
  (vinstall, chmod, etc)
* some had no business being executable, like the smattering of patches
  and other files
* remove files from chroot-distcc no longer used in the template
  (46ce787b63d467d9b8e5ef8821e2ddefea4b980a)
2024-08-02 13:24:47 -04:00

23 lines
1.0 KiB
Diff

diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
index 0b3931e..c6856cc 100644
--- a/src/gameconfigfile.cpp
+++ b/src/gameconfigfile.cpp
@@ -124,6 +124,8 @@ FGameConfigFile::FGameConfigFile ()
SetValueForKey ("Path", "/usr/local/share/doom", true);
SetValueForKey ("Path", "/usr/local/share/games/doom", true);
SetValueForKey ("Path", "/usr/share/doom", true);
+ // Adds the correct locations of the pk3file for Voidlinux
+ SetValueForKey ("Path", "/usr/share/gzdoom", true);
SetValueForKey ("Path", "/usr/share/games/doom", true);
#endif
}
@@ -146,6 +148,8 @@ FGameConfigFile::FGameConfigFile ()
SetValueForKey ("Path", "/usr/local/share/doom", true);
SetValueForKey ("Path", "/usr/local/share/games/doom", true);
SetValueForKey ("Path", "/usr/share/doom", true);
+ // Adds the correct locations of the pk3file for Voidlinux
+ SetValueForKey ("Path", "/usr/share/gzdoom", true);
SetValueForKey ("Path", "/usr/share/games/doom", true);
#endif
SetValueForKey ("Path", "$DOOMWADDIR", true);