diff options
Diffstat (limited to 'data/spidermonkey/mdns.diff')
-rw-r--r-- | data/spidermonkey/mdns.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/spidermonkey/mdns.diff b/data/spidermonkey/mdns.diff index 898af4c40..656531817 100644 --- a/data/spidermonkey/mdns.diff +++ b/data/spidermonkey/mdns.diff @@ -13,7 +13,7 @@ diff -ru js/src/js.c js+iPhone/src/js.c { + struct nlist nl[2]; + memset(nl, 0, sizeof(nl)); -+ nl[0].n_un.n_name = "_useMDNSResponder"; ++ nl[0].n_un.n_name = (char *) "_useMDNSResponder"; + nlist("/usr/lib/libc.dylib", nl); + if (nl[0].n_type != N_UNDF) + *(int *) nl[0].n_value = 0; |