summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/freedoom-data/files/freedoom-data-0.11.3-Set-DOOMWADPATH.patch')
-rw-r--r--games-fps/freedoom-data/files/freedoom-data-0.11.3-Set-DOOMWADPATH.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/games-fps/freedoom-data/files/freedoom-data-0.11.3-Set-DOOMWADPATH.patch b/games-fps/freedoom-data/files/freedoom-data-0.11.3-Set-DOOMWADPATH.patch
deleted file mode 100644
index 0998cc45ebd1..000000000000
--- a/games-fps/freedoom-data/files/freedoom-data-0.11.3-Set-DOOMWADPATH.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 19b8fe33843b1e431fb0737a57087f58c168952c Mon Sep 17 00:00:00 2001
-From: William Breathitt Gray <vilhelm.gray@gmail.com>
-Date: Fri, 6 Sep 2019 16:20:49 +0900
-Subject: [PATCH] dist/freedoom: Set DOOMWADPATH with sensible default value if
- unset
-
-Engines such as Odamex may not have a default search path and simply
-search for freedoom1.wad relative to the current directory. This can
-cause an unexpected WAD file not found error when executing the freedoom
-script.
-
-This issue is mitigated by setting a default DOOMWADPATH environment
-variable with sensible search paths, if it is not already set. All
-engines listed in the PORTS variable support the DOOMWADPATH environment
-variable, which makes it a simple and convenient way of helping prevent
-this error.
----
- dist/freedoom | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/dist/freedoom b/dist/freedoom
-index 62e3c4d5..0c0961a5 100755
---- a/dist/freedoom
-+++ b/dist/freedoom
-@@ -31,6 +31,10 @@ case "$(basename "$0")" in
- ;;
- esac
-
-+if [ -z "$DOOMWADPATH" ]; then
-+ export DOOMWADPATH="/usr/share/doom:/usr/share/games/doom:/usr/local/share/doom:/usr/local/share/games/doom"
-+fi
-+
- if [ -z "$PORT" ] && [ -h "$HOME"/.doomport ]; then
- if [ -f "$(readlink -f "$HOME"/.doomport)" ] \
- && [ -x "$(readlink -f "$HOME"/.doomport)" ]; then
---
-2.23.0
-