diff options
Diffstat (limited to 'sdk/recipes/patches/libcurl/ppc-amigaos/lib.amigaos.c.p')
-rw-r--r-- | sdk/recipes/patches/libcurl/ppc-amigaos/lib.amigaos.c.p | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.amigaos.c.p b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.amigaos.c.p index 5243fc5..384bcd5 100644 --- a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.amigaos.c.p +++ b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.amigaos.c.p @@ -1,20 +1,12 @@ ---- lib/amigaos.c 2019-03-25 08:42:50.000000000 +0000 -+++ lib/amigaos.c 2019-03-30 12:49:06.680985341 +0000 -@@ -24,7 +24,7 @@ +--- lib/amigaos.c.orig 2017-10-10 15:19:45.611896396 +0100 ++++ lib/amigaos.c 2017-10-17 15:42:25.304921197 +0100 +@@ -86,7 +86,9 @@ + ULONG enabled = 0; - #ifdef __AMIGA__ - # include "amigaos.h" --# if defined(HAVE_PROTO_BSDSOCKET_H) && !defined(USE_AMISSL) -+# if 0 - # include <amitcp/socketbasetags.h> - # endif - # ifdef __libnix__ -@@ -37,7 +37,7 @@ - #include "memdebug.h" - - #ifdef __AMIGA__ --#if defined(HAVE_PROTO_BSDSOCKET_H) && !defined(USE_AMISSL) -+#if 0 - struct Library *SocketBase = NULL; - extern int errno, h_errno; + SocketBaseTags(SBTM_SETVAL(SBTC_CAN_SHARE_LIBRARY_BASES), TRUE, ++#ifdef SBTC_HAVE_GETHOSTADDR_R_API + SBTM_GETREF(SBTC_HAVE_GETHOSTADDR_R_API), (ULONG)&enabled, ++#endif + TAG_DONE); + if(enabled) { |