From d4542c336a6cbfb43497055f19a85e7713f2eed7 Mon Sep 17 00:00:00 2001
From: dzwdz
Date: Sun, 25 Jun 2023 16:38:32 +0200
Subject: ports: reimplement the ports system from scratch

side stuff:
* removed sltar since it wasn't working anyways
* made signal() no longer panic, as that broke certain ports (oops)
* doom now ships with the FreeDOOM WADs
* /usr/ was aliased to /init/usr/, more directories were added to /bin/
  to improve compat with ports
---
 ports/doom/patches/0-wad-dir.patch | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 ports/doom/patches/0-wad-dir.patch

(limited to 'ports/doom/patches/0-wad-dir.patch')

diff --git a/ports/doom/patches/0-wad-dir.patch b/ports/doom/patches/0-wad-dir.patch
new file mode 100644
index 0000000..85db2e6
--- /dev/null
+++ b/ports/doom/patches/0-wad-dir.patch
@@ -0,0 +1,8 @@
+--- config.h.orig               2023-06-24 22:10:06.945656877 +0200
++++ config.h                    2023-06-24 22:11:54.456841542 +0200
+@@ -97,4 +97,4 @@
+ #undef ORIGCODE
+ 
+ /* Define to the directory where all game files are located */
+-#define FILES_DIR "."
++#define FILES_DIR "/usr/share/games/doom/"
-- 
cgit v1.2.3