diff options
Diffstat (limited to 'data/ncftp/getdomainname.diff')
-rw-r--r-- | data/ncftp/getdomainname.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/data/ncftp/getdomainname.diff b/data/ncftp/getdomainname.diff new file mode 100644 index 000000000..42542d638 --- /dev/null +++ b/data/ncftp/getdomainname.diff @@ -0,0 +1,12 @@ +diff -ur ncftp-3.2.6/sio/DNSUtil.c ncftp-3.2.6+iPhone/sio/DNSUtil.c +--- ncftp-3.2.6/sio/DNSUtil.c 2016-11-12 17:03:45.000000000 -1000 ++++ ncftp-3.2.6+iPhone/sio/DNSUtil.c 2018-08-17 12:05:05.000000000 -1000 +@@ -12,7 +12,7 @@ + # define Strncpy(a,b,s) strncpy(a, b, s); a[s - 1] = '\0' + #endif + +-#if (((defined(MACOSX)) && (MACOSX < 10300)) || (defined(AIX) && (AIX < 430)) || (defined(DIGITAL_UNIX)) || (defined(SOLARIS)) || (defined(SCO)) || (defined(HPUX))) ++#if (((defined(MACOSX)) && (MACOSX < 10300) && (!defined(__arm__)) && (!defined(__arm64__))) || (defined(AIX) && (AIX < 430)) || (defined(DIGITAL_UNIX)) || (defined(SOLARIS)) || (defined(SCO)) || (defined(HPUX))) + extern int getdomainname(char *name, gethostname_size_t namelen); + #endif + |