SOURCES: quake3-QUAKELIBDIR.patch - updated for 20081024
sparky
sparky at pld-linux.org
Fri Oct 24 18:03:32 CEST 2008
Author: sparky Date: Fri Oct 24 16:03:32 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated for 20081024
---- Files affected:
SOURCES:
quake3-QUAKELIBDIR.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/quake3-QUAKELIBDIR.patch
diff -u SOURCES/quake3-QUAKELIBDIR.patch:1.1 SOURCES/quake3-QUAKELIBDIR.patch:1.2
--- SOURCES/quake3-QUAKELIBDIR.patch:1.1 Sun Nov 6 20:44:57 2005
+++ SOURCES/quake3-QUAKELIBDIR.patch Fri Oct 24 18:03:26 2008
@@ -1,12 +1,24 @@
---- quake3/code/unix/unix_main.c~ 2005-11-05 01:47:40.000000000 +0100
-+++ quake3/code/unix/unix_main.c 2005-11-06 18:17:46.000000000 +0100
-@@ -735,6 +735,9 @@
- if(!libHandle && homepath)
- libHandle = try_dlopen(homepath, gamedir, fname, fqpath);
+--- quake3/code/sys/sys_main.c~orig 2008-10-24 17:27:20.000000000 +0200
++++ quake3/code/sys/sys_main.c 2008-10-24 17:28:11.000000000 +0200
+@@ -383,7 +383,8 @@
+ Used to load a development dll instead of a virtual machine
+ #1 look down current path
+ #2 look in fs_homepath
+-#3 look in fs_basepath
++#3 look in QUAKELIBDIR
++#4 look in fs_basepath
+ =================
+ */
+ void *Sys_LoadDll( const char *name, char *fqpath ,
+@@ -413,6 +414,11 @@
+ if(!libHandle && homepath)
+ libHandle = Sys_TryLibraryLoad(homepath, gamedir, fname, fqpath);
-+ if(!libHandle)
-+ libHandle = try_dlopen(QUAKELIBDIR, gamedir, fname, fqpath);
++#if defined(QUAKELIBDIR)
++ if(!libHandle)
++ libHandle = Sys_TryLibraryLoad(QUAKELIBDIR, gamedir, fname, fqpath);
++#endif
+
- if(!libHandle && basepath)
- libHandle = try_dlopen(basepath, gamedir, fname, fqpath);
+ if(!libHandle && basepath)
+ libHandle = Sys_TryLibraryLoad(basepath, gamedir, fname, fqpath);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/quake3-QUAKELIBDIR.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list