pkgsrc/devel/glib2/patches/patch-gmodule_gmodule-win32.c
prlw1 9da1795fb0 glib2's gobject subsystem is essentially a wrapper for dlopen. In
view of comments in PR lib/49791 which can be summarised as
"RTLD_GLOBAL is a bug", make gobject use RTLD_DEFAULT instead.
2018-10-08 10:12:05 +00:00

16 lines
447 B
C

$NetBSD: patch-gmodule_gmodule-win32.c,v 1.1 2018/10/08 10:12:06 prlw1 Exp $
https://gitlab.gnome.org/GNOME/glib/issues/19
--- gmodule/gmodule-win32.c.orig 2018-01-08 21:34:19.000000000 +0000
+++ gmodule/gmodule-win32.c
@@ -105,8 +105,7 @@ _g_module_self (void)
}
static void
-_g_module_close (gpointer handle,
- gboolean is_unref)
+_g_module_close (gpointer handle)
{
if (handle != null_module_handle)
if (!FreeLibrary (handle))