packages: doomlegacy/doomlegacy-paths.patch - fix chunk which looked like b...
glen
glen at pld-linux.org
Thu Jan 20 00:47:22 CET 2011
Author: glen Date: Wed Jan 19 23:47:22 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- fix chunk which looked like backdoor otherwise
- use tabs as upstream code does
---- Files affected:
packages/doomlegacy:
doomlegacy-paths.patch (1.6 -> 1.7)
---- Diffs:
================================================================
Index: packages/doomlegacy/doomlegacy-paths.patch
diff -u packages/doomlegacy/doomlegacy-paths.patch:1.6 packages/doomlegacy/doomlegacy-paths.patch:1.7
--- packages/doomlegacy/doomlegacy-paths.patch:1.6 Sat Oct 30 00:06:51 2004
+++ packages/doomlegacy/doomlegacy-paths.patch Thu Jan 20 00:47:17 2011
@@ -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);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/doomlegacy/doomlegacy-paths.patch?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list