SHA256
1
0
forked from pool/gzdoom
gzdoom/gzdoom-waddir.patch

23 lines
684 B
Diff

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