diff options
Diffstat (limited to 'data/ruby')
-rw-r--r-- | data/ruby/mdns.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/ruby/mdns.diff b/data/ruby/mdns.diff index 436e1d7a4..c4445ed63 100644 --- a/data/ruby/mdns.diff +++ b/data/ruby/mdns.diff @@ -13,7 +13,7 @@ diff -ru ruby-1.8.6-p111/main.c ruby-1.8.6-p111+iPhone/main.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; |