rpms/vlc/devel vlc-1.1.0-bugfix-dlopen.patch,NONE,1.1

Nicolas Chauvet kwizart at rpmfusion.org
Tue Jun 8 22:01:39 CEST 2010


Author: kwizart

Update of /cvs/free/rpms/vlc/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25276

Added Files:
	vlc-1.1.0-bugfix-dlopen.patch 
Log Message:
Add patch


vlc-1.1.0-bugfix-dlopen.patch:
 override.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE vlc-1.1.0-bugfix-dlopen.patch ---
diff --git a/bin/override.c b/bin/override.c
index 54ca687..5e72918 100644
--- a/bin/override.c
+++ b/bin/override.c
@@ -297,7 +297,7 @@ int (*XSetIOErrorHandler (int (*handler) (Display *))) (Display *)
 
 void *dlopen (const char *path, int flag)
 {
-    if (strstr (path, "/gui_platform/libkde.so"))
+    if (path && strstr (path, "/gui_platform/libkde.so"))
         return NULL; /* Oh no, not that one! */
     return CALL(dlopen, path, flag);
 }




More information about the rpmfusion-commits mailing list