From 616673ea29076c2a3af4e7167e2630ec05184f16 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 8 Jun 2010 20:01:38 +0000 Subject: [PATCH] Add patch --- vlc-1.1.0-bugfix-dlopen.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vlc-1.1.0-bugfix-dlopen.patch diff --git a/vlc-1.1.0-bugfix-dlopen.patch b/vlc-1.1.0-bugfix-dlopen.patch new file mode 100644 index 0000000..1cb398b --- /dev/null +++ b/vlc-1.1.0-bugfix-dlopen.patch @@ -0,0 +1,14 @@ +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); + } +