(and a comment to remind people not to remove it when they see as Extra), and fix the dlopen string so it actually uses it at runtime. ok ryan@
13 lines
485 B
Plaintext
13 lines
485 B
Plaintext
$OpenBSD: patch-build_src_dynamicgtk_c,v 1.1 2013/01/13 09:26:35 sthen Exp $
|
|
--- build/src/dynamicgtk.c.orig Fri Jan 11 23:10:36 2013
|
|
+++ build/src/dynamicgtk.c Fri Jan 11 23:10:42 2013
|
|
@@ -20,7 +20,7 @@ int32_t dynamicgtk_init(void)
|
|
|
|
if (handle) return 1;
|
|
|
|
- handle = dlopen("libgtk-x11-2.0.so.0", RTLD_NOW|RTLD_GLOBAL);
|
|
+ handle = dlopen("libgtk-x11-2.0.so", RTLD_NOW|RTLD_GLOBAL);
|
|
if (!handle) return -1;
|
|
|
|
memset(&dynamicgtksyms, 0, sizeof(dynamicgtksyms));
|