openbsd-ports/games/eduke32/patches/patch-build_src_dynamicgtk_c
sthen a103698560 This has a hidden dep on gtk+2 (which is dlopen'd); add LIB_DEPENDS/WANTLIB
(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@
2013-01-13 09:26:34 +00:00

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));