aboutsummaryrefslogtreecommitdiff
path: root/packages/patches/darwin
diff options
context:
space:
mode:
Diffstat (limited to 'packages/patches/darwin')
-rw-r--r--packages/patches/darwin/darwin_dlopen.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/packages/patches/darwin/darwin_dlopen.patch b/packages/patches/darwin/darwin_dlopen.patch
index a93ef7ed..971ad391 100644
--- a/packages/patches/darwin/darwin_dlopen.patch
+++ b/packages/patches/darwin/darwin_dlopen.patch
@@ -42,24 +42,3 @@ diff -u -w -r1.4 s_loader.c
{
NSObjectFileImage image;
void *ret;
-@@ -134,8 +137,18 @@
- return 0;
- }
- ret = NSLinkModule( image, filename,
-- NSLINKMODULE_OPTION_BINDNOW + NSLINKMODULE_OPTION_PRIVATE);
--
-+ NSLINKMODULE_OPTION_BINDNOW |
-+ //NSLINKMODULE_OPTION_PRIVATE |
-+ NSLINKMODULE_OPTION_RETURN_ON_ERROR);
-+
-+ if (ret == NULL) {
-+ int err;
-+ const char *fname, *errt;
-+ NSLinkEditErrors c;
-+ NSLinkEditError(&c, &err, &fname, &errt);
-+ post("link error %d %s %s", err, fname, errt);
-+ return 0;
-+ }
- s = NSLookupSymbolInModule(ret, symname);
-
- if (s)