gzdoom/gzdoom-waddir.patch

23 lines
582 B
Diff

From: Jan Engelhardt <jengelh@inai.de>
2018-01-02 15:25:05.669125932 +0100
Ensure same IWAD directory across all Doom source ports in openSUSE
---
src/posix/i_system.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: gzdoom-4.0.0/src/posix/i_system.h
===================================================================
--- gzdoom-4.0.0.orig/src/posix/i_system.h
+++ gzdoom-4.0.0/src/posix/i_system.h
@@ -42,7 +42,7 @@ struct ticcmd_t;
struct WadStuff;
#ifndef SHARE_DIR
-#define SHARE_DIR "/usr/local/share/"
+#define SHARE_DIR "/usr/share/doom/"
#endif