summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/libcurl
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-29 16:51:07 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-29 16:51:07 +0000
commite1ffdff6964514515fc640544ccb39e2140d4ca5 (patch)
treea09eb9d6fe3135a60e20727b8f5dc36053bfd104 /sdk/recipes/patches/libcurl
parenta22da7444bb8db2d988e3074fc90c05066726e79 (diff)
downloadtoolchains-e1ffdff6964514515fc640544ccb39e2140d4ca5.tar.gz
toolchains-e1ffdff6964514515fc640544ccb39e2140d4ca5.tar.bz2
Build runes for an SDK containing the upstream packages we need
svn path=/toolchains/; revision=11136
Diffstat (limited to 'sdk/recipes/patches/libcurl')
-rw-r--r--sdk/recipes/patches/libcurl/lib.easy.c.p27
-rw-r--r--sdk/recipes/patches/libcurl/src.main.c.p13
2 files changed, 40 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libcurl/lib.easy.c.p b/sdk/recipes/patches/libcurl/lib.easy.c.p
new file mode 100644
index 0000000..c98b845
--- /dev/null
+++ b/sdk/recipes/patches/libcurl/lib.easy.c.p
@@ -0,0 +1,27 @@
+--- lib/easy.c.old 2010-12-29 16:14:23.000000000 +0000
++++ lib/easy.c 2010-12-29 16:15:10.000000000 +0000
+@@ -263,13 +263,6 @@
+ return CURLE_FAILED_INIT;
+ }
+
+-#ifdef __AMIGA__
+- if(!amiga_init()) {
+- DEBUGF(fprintf(stderr, "Error: amiga_init failed\n"));
+- return CURLE_FAILED_INIT;
+- }
+-#endif
+-
+ #ifdef NETWARE
+ if(netware_init()) {
+ DEBUGF(fprintf(stderr, "Warning: LONG namespace not available\n"));
+@@ -358,10 +351,6 @@
+ if(init_flags & CURL_GLOBAL_WIN32)
+ win32_cleanup();
+
+-#ifdef __AMIGA__
+- amiga_cleanup();
+-#endif
+-
+ #if defined(USE_LIBSSH2) && defined(HAVE_LIBSSH2_EXIT)
+ (void)libssh2_exit();
+ #endif
diff --git a/sdk/recipes/patches/libcurl/src.main.c.p b/sdk/recipes/patches/libcurl/src.main.c.p
new file mode 100644
index 0000000..749fe64
--- /dev/null
+++ b/sdk/recipes/patches/libcurl/src.main.c.p
@@ -0,0 +1,13 @@
+--- src/main.c.old 2010-12-29 16:18:04.000000000 +0000
++++ src/main.c 2010-12-29 16:17:51.000000000 +0000
+@@ -64,6 +64,10 @@
+ #endif
+ #endif
+
++#ifdef __AMIGA__
++#include <proto/dos.h>
++#endif
++
+ #include "version.h"
+
+ #ifdef HAVE_IO_H /* typical win32 habit */