2012-04-20 11:32:05 +02:00
|
|
|
Index: xorg-server-1.12.1/hw/xfree86/loader/loader.c
|
|
|
|
===================================================================
|
|
|
|
--- xorg-server-1.12.1.orig/hw/xfree86/loader/loader.c
|
|
|
|
+++ xorg-server-1.12.1/hw/xfree86/loader/loader.c
|
|
|
|
@@ -152,7 +152,7 @@ LoaderSymbol(const char *name)
|
|
|
|
return p;
|
2009-09-10 12:54:30 +02:00
|
|
|
|
|
|
|
if (!global_scope)
|
2012-04-20 11:32:05 +02:00
|
|
|
- global_scope = dlopen(NULL, DLOPEN_LAZY | DLOPEN_GLOBAL);
|
|
|
|
+ global_scope = dlopen(NULL, DLOPEN_LAZY | DLOPEN_GLOBAL | RTLD_DEEPBIND);
|
2009-09-10 12:54:30 +02:00
|
|
|
|
|
|
|
if (global_scope)
|
2012-04-20 11:32:05 +02:00
|
|
|
return dlsym(global_scope, name);
|