From 860e57e25ffd793a1d680d71339e3d620d4d1173 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 19 Jan 2011 23:47:17 +0000 Subject: [PATCH] - fix chunk which looked like backdoor otherwise - use tabs as upstream code does Changed files: doomlegacy-paths.patch -> 1.7 --- doomlegacy-paths.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doomlegacy-paths.patch b/doomlegacy-paths.patch index ed3d399..8ea438b 100644 --- a/doomlegacy-paths.patch +++ b/doomlegacy-paths.patch @@ -18,7 +18,7 @@ if (!(waddir = getenv("DOOMWADDIR"))) - waddir = "."; -+ waddir = "/usr/share/doomlegacy"; ++ waddir = "/usr/share/doomlegacy"; wadfilename = malloc(2 + strlen(s) + strlen(waddir)); if (*s != '/') @@ -29,7 +29,7 @@ // try to open library in CWD - dlptr = dlopen("./r_opengl.so",RTLD_NOW | RTLD_GLOBAL); -+ dlptr = dlopen("/usr/lib/doomlegacy/r_opengl.so",RTLD_NOW | RTLD_GLOBAL); ++ dlptr = dlopen("/usr/lib/doomlegacy/r_opengl.so",RTLD_NOW | RTLD_GLOBAL); if(!dlptr) { // try to open in LIBPATH @@ -55,7 +55,7 @@ struct stat s; char pb[2048]; + -+ strcpy(b,"/usr/X11R6/lib/doomlegacy_142_src/"); ++ strcpy(b,"/usr/lib/doomlegacy/"); + strcat(b,file); + if (stat(b, &s) == 0) { + return(b); -- 2.43.0