File: debian-paths

package info (click to toggle)
uhexen2 1.5.9%2Bdfsg-1
  • links: PTS
  • area: contrib
  • in suites: bookworm, bullseye, buster
  • size: 17,808 kB
  • sloc: ansic: 193,283; asm: 32,862; makefile: 4,797; sh: 4,495; pascal: 273; objc: 245; cpp: 19
file content (49 lines) | stat: -rw-r--r-- 1,490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Description: this patch changes the default search path for uhexen2 executables
Origin: vendor
Forwarded: not-needed
Last-Update: <2016-02-14>

--- a/engine/hexenworld/client/sys_unix.c
+++ b/engine/hexenworld/client/sys_unix.c
@@ -643,7 +643,7 @@ int main (int argc, char **argv)
 
 	/* initialize the host params */
 	memset (&parms, 0, sizeof(parms));
-	parms.basedir = cwd;
+	parms.basedir = "/usr/share/games/hexen2";
 	parms.userdir = cwd;
 	parms.argc = argc;
 	parms.argv = argv;
--- a/engine/hexenworld/server/sys_unix.c
+++ b/engine/hexenworld/server/sys_unix.c
@@ -525,7 +525,7 @@ int main (int argc, char **argv)
 
 	/* initialize the host params */
 	memset (&parms, 0, sizeof(parms));
-	parms.basedir = cwd;
+	parms.basedir = "/usr/share/games/hexen2";
 	parms.userdir = cwd;
 	parms.argc = argc;
 	parms.argv = argv;
--- a/engine/hexen2/sys_unix.c
+++ b/engine/hexen2/sys_unix.c
@@ -892,7 +892,7 @@ int main (int argc, char **argv)
 
 	/* initialize the host params */
 	memset (&parms, 0, sizeof(parms));
-	parms.basedir = cwd;
+	parms.basedir = "/usr/share/games/hexen2";
 	parms.userdir = cwd;
 	parms.argc = argc;
 	parms.argv = argv;
--- a/engine/hexen2/server/sys_unix.c
+++ b/engine/hexen2/server/sys_unix.c
@@ -566,7 +566,7 @@ int main (int argc, char **argv)
 
 	/* initialize the host params */
 	memset (&parms, 0, sizeof(parms));
-	parms.basedir = cwd;
+	parms.basedir = "/usr/share/games/hexen2";
 	parms.userdir = cwd;
 	parms.argc = argc;
 	parms.argv = argv;