diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-01-18 13:04:05 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-01-18 13:04:05 +0000 |
commit | e8da18edcdce6c3c96bc3629f0f5927901b2c60e (patch) | |
tree | 598a4ccfc128948404369b1192c0c04d64fb0385 /devel/glib20/files/patch-gmodule::gmodule-dl.c | |
parent | - Fix depends (diff) |
Update to 1.3.12 and merge in dlsym() patches from gtk12 port.
Notes
Notes:
svn path=/head/; revision=53291
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 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 |