diff options
Diffstat (limited to 'devel/glib20/files/patch-gmodule::gmodule-dl.c')
-rw-r--r-- | devel/glib20/files/patch-gmodule::gmodule-dl.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/glib20/files/patch-gmodule::gmodule-dl.c b/devel/glib20/files/patch-gmodule::gmodule-dl.c new file mode 100644 index 000000000..a8a4aa434 --- /dev/null +++ b/devel/glib20/files/patch-gmodule::gmodule-dl.c @@ -0,0 +1,23 @@ + +$FreeBSD: ports/devel/glib20/files/patch-gmodule::gmodule-dl.c,v 1.3 2004/04/05 03:11:21 marcus Exp $ + +--- gmodule/gmodule-dl.c.orig Sat Feb 17 08:28:07 2001 ++++ gmodule/gmodule-dl.c Fri Jan 18 09:48:45 2002 +@@ -104,6 +104,7 @@ + static gpointer + _g_module_self (void) + { ++#ifndef __FreeBSD__ + gpointer handle; + + /* to query symbols from the program itself, special link options +@@ -115,6 +116,9 @@ + g_module_set_error (fetch_dlerror (TRUE)); + + return handle; ++#else ++ return RTLD_DEFAULT; ++#endif + } + + static void |