ports/doom: Update and install to /usr/share/games
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From 42616232560bfa8aacc85828a60dc51cfd176944 Mon Sep 17 00:00:00 2001
|
||||
From: Oskari Alaranta <oskari.alaranta@bananymous.com>
|
||||
Date: Sun, 19 Apr 2026 14:32:43 +0300
|
||||
Subject: [PATCH] Add /usr/share/games/doom as an iwad directory
|
||||
|
||||
---
|
||||
doomgeneric/d_iwad.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/doomgeneric/d_iwad.c b/doomgeneric/d_iwad.c
|
||||
index 508cc61..23b16da 100644
|
||||
--- a/doomgeneric/d_iwad.c
|
||||
+++ b/doomgeneric/d_iwad.c
|
||||
@@ -615,6 +615,10 @@ static void BuildIWADDirList(void)
|
||||
#else
|
||||
AddIWADDir (FILES_DIR);
|
||||
|
||||
+#ifdef __banan_os__
|
||||
+ AddIWADDir("/usr/share/games/doom");
|
||||
+#endif
|
||||
+
|
||||
// Don't run this function again.
|
||||
|
||||
iwad_dirs_built = true;
|
||||
--
|
||||
2.53.0
|
||||
|
||||
Reference in New Issue
Block a user