summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/apt/mdns.diff32
-rw-r--r--data/bash/mdns.diff2
-rw-r--r--data/bitchx/mdns.diff2
-rw-r--r--data/curl/mdns.diff2
-rw-r--r--data/cvs/mdns.diff2
-rw-r--r--data/inetutils/mdns.diff44
-rw-r--r--data/irssi/mdns.diff4
-rw-r--r--data/jamvm/mdns.diff2
-rw-r--r--data/links/mdns.diff2
-rw-r--r--data/lynx/mdns.diff2
-rw-r--r--data/ncftp/mdns.diff2
-rw-r--r--data/ruby/mdns.diff2
-rw-r--r--data/spidermonkey/mdns.diff2
-rw-r--r--data/subversion/mdns.diff14
-rw-r--r--data/wget/mdns.diff2
15 files changed, 58 insertions, 58 deletions
diff --git a/data/apt/mdns.diff b/data/apt/mdns.diff
index 7efb1ac3b..20c349ad2 100644
--- a/data/apt/mdns.diff
+++ b/data/apt/mdns.diff
@@ -15,7 +15,7 @@ diff -ru apt-0.6.46.4.1/cmdline/apt-cache.cc apt-0.6.46.4.1+iPhone/cmdline/apt-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;
@@ -40,7 +40,7 @@ diff -ru apt-0.6.46.4.1/cmdline/apt-cdrom.cc apt-0.6.46.4.1+iPhone/cmdline/apt-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;
@@ -65,7 +65,7 @@ diff -ru apt-0.6.46.4.1/cmdline/apt-config.cc apt-0.6.46.4.1+iPhone/cmdline/apt-
{
+ 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;
@@ -90,7 +90,7 @@ diff -ru apt-0.6.46.4.1/cmdline/apt-extracttemplates.cc apt-0.6.46.4.1+iPhone/cm
{
+ 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;
@@ -115,7 +115,7 @@ diff -ru apt-0.6.46.4.1/cmdline/apt-get.cc apt-0.6.46.4.1+iPhone/cmdline/apt-get
{
+ 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;
@@ -140,7 +140,7 @@ diff -ru apt-0.6.46.4.1/cmdline/apt-sortpkgs.cc apt-0.6.46.4.1+iPhone/cmdline/ap
{
+ 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;
@@ -165,7 +165,7 @@ diff -ru apt-0.6.46.4.1/ftparchive/apt-ftparchive.cc apt-0.6.46.4.1+iPhone/ftpar
{
+ 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;
@@ -190,7 +190,7 @@ diff -ru apt-0.6.46.4.1/methods/cdrom.cc apt-0.6.46.4.1+iPhone/methods/cdrom.cc
{
+ 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;
@@ -215,7 +215,7 @@ diff -ru apt-0.6.46.4.1/methods/copy.cc apt-0.6.46.4.1+iPhone/methods/copy.cc
{
+ 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;
@@ -240,7 +240,7 @@ diff -ru apt-0.6.46.4.1/methods/file.cc apt-0.6.46.4.1+iPhone/methods/file.cc
{
+ 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;
@@ -265,7 +265,7 @@ diff -ru apt-0.6.46.4.1/methods/ftp.cc apt-0.6.46.4.1+iPhone/methods/ftp.cc
{
+ 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;
@@ -290,7 +290,7 @@ diff -ru apt-0.6.46.4.1/methods/gpgv.cc apt-0.6.46.4.1+iPhone/methods/gpgv.cc
{
+ 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;
@@ -315,7 +315,7 @@ diff -ru apt-0.6.46.4.1/methods/gzip.cc apt-0.6.46.4.1+iPhone/methods/gzip.cc
{
+ 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;
@@ -340,7 +340,7 @@ diff -ru apt-0.6.46.4.1/methods/http.cc apt-0.6.46.4.1+iPhone/methods/http.cc
{
+ 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;
@@ -365,7 +365,7 @@ diff -ru apt-0.6.46.4.1/methods/rred.cc apt-0.6.46.4.1+iPhone/methods/rred.cc
{
+ 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;
@@ -390,7 +390,7 @@ diff -ru apt-0.6.46.4.1/methods/rsh.cc apt-0.6.46.4.1+iPhone/methods/rsh.cc
{
+ 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;
diff --git a/data/bash/mdns.diff b/data/bash/mdns.diff
index 6b1e1ab4e..af119ba1c 100644
--- a/data/bash/mdns.diff
+++ b/data/bash/mdns.diff
@@ -13,7 +13,7 @@ diff -ru bash-3.2/shell.c bash-3.2+iPhone/shell.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;
diff --git a/data/bitchx/mdns.diff b/data/bitchx/mdns.diff
index 3c67811a4..b6566a3f9 100644
--- a/data/bitchx/mdns.diff
+++ b/data/bitchx/mdns.diff
@@ -13,7 +13,7 @@ diff -ru BitchX/source/irc.c BitchX+iPhone/source/irc.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;
diff --git a/data/curl/mdns.diff b/data/curl/mdns.diff
index 19adf83a7..0ac371e36 100644
--- a/data/curl/mdns.diff
+++ b/data/curl/mdns.diff
@@ -13,7 +13,7 @@ diff -ru curl-7.17.1/src/main.c curl-7.17.1+iPhone/src/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;
diff --git a/data/cvs/mdns.diff b/data/cvs/mdns.diff
index 3c735a2e1..e7d651b20 100644
--- a/data/cvs/mdns.diff
+++ b/data/cvs/mdns.diff
@@ -13,7 +13,7 @@ diff -ru cvs-1.11.22/src/main.c cvs-1.11.22+iPhone/src/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;
diff --git a/data/inetutils/mdns.diff b/data/inetutils/mdns.diff
index ae32f9bc5..4335d8934 100644
--- a/data/inetutils/mdns.diff
+++ b/data/inetutils/mdns.diff
@@ -13,7 +13,7 @@ diff -rui inetutils-1.5/ftp/main.c inetutils-1.5+iPhone/ftp/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;
@@ -36,7 +36,7 @@ diff -rui inetutils-1.5/ftpd/ftpd.c inetutils-1.5+iPhone/ftpd/ftpd.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;
@@ -59,7 +59,7 @@ diff -rui inetutils-1.5/gwhois/whois.c inetutils-1.5+iPhone/gwhois/whois.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;
@@ -82,7 +82,7 @@ diff -rui inetutils-1.5/ifconfig/ifconfig.c inetutils-1.5+iPhone/ifconfig/ifconf
{
+ 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;
@@ -105,7 +105,7 @@ diff -rui inetutils-1.5/inetd/inetd.c inetutils-1.5+iPhone/inetd/inetd.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;
@@ -128,7 +128,7 @@ diff -rui inetutils-1.5/logger/logger.c inetutils-1.5+iPhone/logger/logger.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;
@@ -151,7 +151,7 @@ diff -rui inetutils-1.5/ping/ping6.c inetutils-1.5+iPhone/ping/ping6.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;
@@ -174,7 +174,7 @@ diff -rui inetutils-1.5/ping/ping.c inetutils-1.5+iPhone/ping/ping.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;
@@ -197,7 +197,7 @@ diff -rui inetutils-1.5/rcp/rcp.c inetutils-1.5+iPhone/rcp/rcp.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;
@@ -220,7 +220,7 @@ diff -rui inetutils-1.5/rexecd/rexecd.c inetutils-1.5+iPhone/rexecd/rexecd.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;
@@ -243,7 +243,7 @@ diff -rui inetutils-1.5/rlogin/rlogin.c inetutils-1.5+iPhone/rlogin/rlogin.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;
@@ -266,7 +266,7 @@ diff -rui inetutils-1.5/rlogind/rlogind.c inetutils-1.5+iPhone/rlogind/rlogind.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;
@@ -289,7 +289,7 @@ diff -rui inetutils-1.5/rsh/rsh.c inetutils-1.5+iPhone/rsh/rsh.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;
@@ -312,7 +312,7 @@ diff -rui inetutils-1.5/rshd/rshd.c inetutils-1.5+iPhone/rshd/rshd.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;
@@ -335,7 +335,7 @@ diff -rui inetutils-1.5/syslogd/syslogd.c inetutils-1.5+iPhone/syslogd/syslogd.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;
@@ -358,7 +358,7 @@ diff -rui inetutils-1.5/talk/talk.c inetutils-1.5+iPhone/talk/talk.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;
@@ -381,7 +381,7 @@ diff -rui inetutils-1.5/talkd/talkd.c inetutils-1.5+iPhone/talkd/talkd.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;
@@ -404,7 +404,7 @@ diff -rui inetutils-1.5/telnet/main.c inetutils-1.5+iPhone/telnet/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;
@@ -427,7 +427,7 @@ diff -rui inetutils-1.5/telnetd/telnetd.c inetutils-1.5+iPhone/telnetd/telnetd.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;
@@ -450,7 +450,7 @@ diff -rui inetutils-1.5/tftp/main.c inetutils-1.5+iPhone/tftp/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;
@@ -473,7 +473,7 @@ diff -rui inetutils-1.5/tftpd/tftpd.c inetutils-1.5+iPhone/tftpd/tftpd.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;
@@ -496,7 +496,7 @@ diff -rui inetutils-1.5/uucpd/uucpd.c inetutils-1.5+iPhone/uucpd/uucpd.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;
diff --git a/data/irssi/mdns.diff b/data/irssi/mdns.diff
index 0092322f5..3afc026e1 100644
--- a/data/irssi/mdns.diff
+++ b/data/irssi/mdns.diff
@@ -13,7 +13,7 @@ diff -ru irssi-0.8.12/src/fe-none/irssi.c irssi-0.8.12+iPhone/src/fe-none/irssi.
{
+ struct nlist nl[2];
+ memset(nl, 0, sizeof(nl));
-+ nl[0].n_un.n_name = "_useMDNSResponder";
++ nl[0].n_un.n_name = (char *) "_useMDNSResponder";
+ if (nlist("/usr/lib/libc.dylib", nl) != -1 && nl[0].n_type != N_UNDF)
+ *(int *) nl[0].n_value = 0;
+
@@ -35,7 +35,7 @@ diff -ru irssi-0.8.12/src/fe-text/irssi.c irssi-0.8.12+iPhone/src/fe-text/irssi.
{
+ struct nlist nl[2];
+ memset(nl, 0, sizeof(nl));
-+ nl[0].n_un.n_name = "_useMDNSResponder";
++ nl[0].n_un.n_name = (char *) "_useMDNSResponder";
+ if (nlist("/usr/lib/libc.dylib", nl) != -1 && nl[0].n_type != N_UNDF)
+ *(int *) nl[0].n_value = 0;
+
diff --git a/data/jamvm/mdns.diff b/data/jamvm/mdns.diff
index ff63e8957..8dbb978ae 100644
--- a/data/jamvm/mdns.diff
+++ b/data/jamvm/mdns.diff
@@ -13,7 +13,7 @@ diff -ru jamvm-1.5.1/src/jam.c jamvm-1.5.1+iPhone/src/jam.c
int main(int argc, char *argv[]) {
+ 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;
diff --git a/data/links/mdns.diff b/data/links/mdns.diff
index 6e9a5d8a1..e03e19afd 100644
--- a/data/links/mdns.diff
+++ b/data/links/mdns.diff
@@ -13,7 +13,7 @@ diff -ru links-0.99/main.c links-0.99+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;
diff --git a/data/lynx/mdns.diff b/data/lynx/mdns.diff
index 46a48edec..4a3348fa8 100644
--- a/data/lynx/mdns.diff
+++ b/data/lynx/mdns.diff
@@ -13,7 +13,7 @@ diff -ru lynx2-8-6/src/LYMain.c lynx2-8-6+iPhone/src/LYMain.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;
diff --git a/data/ncftp/mdns.diff b/data/ncftp/mdns.diff
index e2d2efbe2..e9956b8eb 100644
--- a/data/ncftp/mdns.diff
+++ b/data/ncftp/mdns.diff
@@ -13,7 +13,7 @@ diff -ru ncftp-3.2.1/ncftp/main.c ncftp-3.2.1+iPhone/ncftp/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;
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;
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;
diff --git a/data/subversion/mdns.diff b/data/subversion/mdns.diff
index 049aadb36..5455cba9b 100644
--- a/data/subversion/mdns.diff
+++ b/data/subversion/mdns.diff
@@ -13,7 +13,7 @@ diff -ru subversion-1.4.6/contrib/client-side/mucc.c subversion-1.4.6+iPhone/con
{
+ 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;
@@ -36,7 +36,7 @@ diff -ru subversion-1.4.6/subversion/svn/main.c subversion-1.4.6+iPhone/subversi
{
+ 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;
@@ -59,7 +59,7 @@ diff -ru subversion-1.4.6/subversion/svnadmin/main.c subversion-1.4.6+iPhone/sub
{
+ 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;
@@ -82,7 +82,7 @@ diff -ru subversion-1.4.6/subversion/svnlook/main.c subversion-1.4.6+iPhone/subv
{
+ 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;
@@ -105,7 +105,7 @@ diff -ru subversion-1.4.6/subversion/svnserve/main.c subversion-1.4.6+iPhone/sub
{
+ 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;
@@ -128,7 +128,7 @@ diff -ru subversion-1.4.6/subversion/svnsync/main.c subversion-1.4.6+iPhone/subv
{
+ 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;
@@ -151,7 +151,7 @@ diff -ru subversion-1.4.6/subversion/svnversion/main.c subversion-1.4.6+iPhone/s
{
+ 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;
diff --git a/data/wget/mdns.diff b/data/wget/mdns.diff
index f268b346e..0d19bf9a7 100644
--- a/data/wget/mdns.diff
+++ b/data/wget/mdns.diff
@@ -13,7 +13,7 @@ diff -ru wget-1.9.1/src/main.c wget-1.9.1+iPhone/src/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;