summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-03-30 13:59:08 +0000
committerVincent Sanders <vince@kyllikki.org>2019-04-07 12:57:02 +0100
commit3c5877779e696072d761e9d1ff438664c6da22be (patch)
treec6c07f0111d8ecdc94e0ff478f1cf00be5a4e4b5 /sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p
parent31ffd797f585e38d8313bb96dbf098946aff0b50 (diff)
downloadtoolchains-3c5877779e696072d761e9d1ff438664c6da22be.tar.gz
toolchains-3c5877779e696072d761e9d1ff438664c6da22be.tar.bz2
Fix ppc-amigaos libcurl 7.64.1 build
Diffstat (limited to 'sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p')
-rw-r--r--sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p33
1 files changed, 11 insertions, 22 deletions
diff --git a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p
index 7e47a50..0e52d73 100644
--- a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p
+++ b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p
@@ -1,23 +1,12 @@
---- lib/curl_setup.h.old 2012-10-19 21:58:12.000000000 +0100
-+++ lib/curl_setup.h 2012-10-19 21:59:17.000000000 +0100
-@@ -323,11 +323,15 @@
-
- #ifdef __AMIGA__
- # ifndef __ixemul__
--# include <exec/types.h>
--# include <exec/execbase.h>
--# include <proto/exec.h>
--# include <proto/dos.h>
--# define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0)
-+# ifdef __amigaos4__
-+# include <unistd.h>
-+# else
-+# include <exec/types.h>
-+# include <exec/execbase.h>
-+# include <proto/exec.h>
-+# include <proto/dos.h>
-+# define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0)
-+# endif
+--- lib/curl_setup.h 2019-03-30 13:44:08.576270700 +0000
++++ lib/curl_setup.h 2019-03-30 13:44:33.011975643 +0000
+@@ -314,7 +314,8 @@
+ # include <exec/execbase.h>
+ # include <proto/exec.h>
+ # include <proto/dos.h>
+-# ifdef HAVE_PROTO_BSDSOCKET_H
++# define HAVE_SELECT 1
++# if 0
+ # include <proto/bsdsocket.h> /* ensure bsdsocket.library use */
+ # define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0)
# endif
- #endif
-