summaryrefslogtreecommitdiff
path: root/games/odamex/waddir.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-01-15 23:21:38 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-01-15 23:21:38 -0600
commit9daa6f9f29d694e2482ca75bce19a19dabfaed81 (patch)
tree93ddb2dd01d326a7dc7ef9b5fb4735b1b4ee531a /games/odamex/waddir.diff
parentfa40eb3d306cada6a7d06c40aab779a93ff9769d (diff)
downloadslackbuilds-9daa6f9f29d694e2482ca75bce19a19dabfaed81.tar.gz
games/odamex: Added (Online Doom Multiplayer Experience)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/odamex/waddir.diff')
-rw-r--r--games/odamex/waddir.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/odamex/waddir.diff b/games/odamex/waddir.diff
new file mode 100644
index 0000000000..ea82a16778
--- /dev/null
+++ b/games/odamex/waddir.diff
@@ -0,0 +1,22 @@
+diff -Naur odamex-src-0.5.6/client/src/d_main.cpp odamex-src-0.5.6.patched//client/src/d_main.cpp
+--- odamex-src-0.5.6/client/src/d_main.cpp 2011-11-05 00:00:05.000000000 -0400
++++ odamex-src-0.5.6.patched//client/src/d_main.cpp 2011-12-23 07:23:12.000000000 -0500
+@@ -845,6 +845,7 @@
+ D_AddSearchDir(dirs, getenv("DOOMWADPATH"), separator);
+ D_AddSearchDir(dirs, getenv("HOME"), separator);
+ D_AddSearchDir(dirs, waddirs.cstring(), separator);
++ D_AddSearchDir(dirs, "/usr/share/games/doom", separator);
+
+ dirs.erase(std::unique(dirs.begin(), dirs.end()), dirs.end());
+
+diff -Naur odamex-src-0.5.6/server/src/d_main.cpp odamex-src-0.5.6.patched//server/src/d_main.cpp
+--- odamex-src-0.5.6/server/src/d_main.cpp 2011-11-04 23:59:48.000000000 -0400
++++ odamex-src-0.5.6.patched//server/src/d_main.cpp 2011-12-23 07:22:56.000000000 -0500
+@@ -629,6 +629,7 @@
+ D_AddSearchDir(dirs, getenv("DOOMWADPATH"), separator);
+ D_AddSearchDir(dirs, getenv("HOME"), separator);
+ D_AddSearchDir(dirs, waddirs.cstring(), separator);
++ D_AddSearchDir(dirs, "/usr/share/games/doom", separator);
+
+
+ dirs.erase(std::unique(dirs.begin(), dirs.end()), dirs.end());