Jan Engelhardt
ae265b6bb8
OBS-URL: https://build.opensuse.org/package/show/games/chocolate-doom?expand=0&rev=8
27 lines
820 B
Diff
27 lines
820 B
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2013-05-02 09:45:54.544886176 +0200
|
|
Upstream: maybe - this patch is quite specific to openSUSE
|
|
|
|
prboom-plus and doomsday (in openSUSE) look in /usr/share/doom for
|
|
IWADs, and so should chocolate-doom.
|
|
|
|
---
|
|
src/d_iwad.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: chocolate-doom-1.7.0/src/d_iwad.c
|
|
===================================================================
|
|
--- chocolate-doom-1.7.0.orig/src/d_iwad.c
|
|
+++ chocolate-doom-1.7.0/src/d_iwad.c
|
|
@@ -556,8 +556,9 @@ static void BuildIWADDirList(void)
|
|
|
|
// Standard places where IWAD files are installed under Unix.
|
|
|
|
- AddIWADDir("/usr/share/games/doom");
|
|
AddIWADDir("/usr/local/share/games/doom");
|
|
+ AddIWADDir("/usr/share/games/doom");
|
|
+ AddIWADDir("/usr/share/doom");
|
|
|
|
#endif
|
|
|