diff options
author | Koop Mast <kwm@FreeBSD.org> | 2014-11-19 11:49:04 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2014-11-19 11:49:04 +0000 |
commit | af3811313c14afb06fe2d1f6158e3e431bbfc2b6 (patch) | |
tree | 1ad98a4e8faecd0e2fa9ac2c18e65da4cf89c236 /devel/glib20/files/patch-gmodule_gmodule-dl.c | |
parent | c7d4d6bd7ef6ff4955eab2863a5c6e2feb14b839 (diff) | |
download | ports-af3811313c14afb06fe2d1f6158e3e431bbfc2b6.tar.gz ports-af3811313c14afb06fe2d1f6158e3e431bbfc2b6.zip |
Notes
Diffstat (limited to 'devel/glib20/files/patch-gmodule_gmodule-dl.c')
-rw-r--r-- | devel/glib20/files/patch-gmodule_gmodule-dl.c | 20 |
1 files changed, 20 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..586d7f80bd62 --- /dev/null +++ b/devel/glib20/files/patch-gmodule_gmodule-dl.c @@ -0,0 +1,20 @@ +--- 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 |