From e8da18edcdce6c3c96bc3629f0f5927901b2c60e Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Fri, 18 Jan 2002 13:04:05 +0000 Subject: Update to 1.3.12 and merge in dlsym() patches from gtk12 port. --- devel/glib20/files/patch-gmodule::gmodule-dl.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 devel/glib20/files/patch-gmodule::gmodule-dl.c (limited to 'devel/glib20/files/patch-gmodule::gmodule-dl.c') 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 000000000000..eaa43a74e423 --- /dev/null +++ b/devel/glib20/files/patch-gmodule::gmodule-dl.c @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- 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 -- cgit v1.2.3