1 diff -u -r gzdoom-3.88b/src/gameconfigfile.cpp gzdoom-3.88b-2/src/gameconfigfile.cpp
2 --- gzdoom-3.88b/src/gameconfigfile.cpp 2022-02-26 06:17:38.000000000 -0500
3 +++ gzdoom-3.88b-2/src/gameconfigfile.cpp 2022-07-11 11:50:35.970372501 -0400
5 SetValueForKey("Path", "/usr/local/share/doom/fm_banks", true);
6 SetValueForKey("Path", "/usr/local/share/games/doom/soundfonts", true);
7 SetValueForKey("Path", "/usr/local/share/games/doom/fm_banks", true);
8 + SetValueForKey("Path", "/usr/share/" GAMENAMELOWERCASE "/soundfonts", true);
9 + SetValueForKey("Path", "/usr/share/" GAMENAMELOWERCASE "/fm_banks", true);
10 SetValueForKey("Path", "/usr/share/doom/soundfonts", true);
11 SetValueForKey("Path", "/usr/share/doom/fm_banks", true);
12 SetValueForKey("Path", "/usr/share/games/doom/soundfonts", true);
13 diff -u -r gzdoom-3.88b/src/posix/sdl/i_main.cpp gzdoom-3.88b-2/src/posix/sdl/i_main.cpp
14 --- gzdoom-3.88b/src/posix/sdl/i_main.cpp 2022-02-26 06:17:38.000000000 -0500
15 +++ gzdoom-3.88b-2/src/posix/sdl/i_main.cpp 2022-07-11 11:30:42.230363540 -0400
17 Args = new FArgs(argc, argv);
19 // Should we even be doing anything with progdir on Unix systems?
20 - char program[PATH_MAX];
21 - if (realpath (argv[0], program) == NULL)
22 - strcpy (program, argv[0]);
23 - char *slash = strrchr (program, '/');
26 - *(slash + 1) = '\0';
33 + progdir = "/usr/share/lzdoom/";