summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/libcurl/ppc-amigaos/lib.easy.c.p
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-10 17:41:07 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-10 17:41:07 +0100
commit025da01f84f1dcaefacb9cd87a76a0c57b7268bc (patch)
tree616c990d0eb67b2466db12ef56291ea6256a8871 /sdk/recipes/patches/libcurl/ppc-amigaos/lib.easy.c.p
parentb4d84b50041adbefbb4df21b4ba0906768298f1e (diff)
parent37908e1c268634544c0e4680ca536ef6489e2ddf (diff)
downloadtoolchains-025da01f84f1dcaefacb9cd87a76a0c57b7268bc.tar.gz
toolchains-025da01f84f1dcaefacb9cd87a76a0c57b7268bc.tar.bz2
Merge branch 'master' of git://git.netsurf-browser.org/toolchains
Diffstat (limited to 'sdk/recipes/patches/libcurl/ppc-amigaos/lib.easy.c.p')
-rw-r--r--sdk/recipes/patches/libcurl/ppc-amigaos/lib.easy.c.p27
1 files changed, 27 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.easy.c.p b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.easy.c.p
new file mode 100644
index 0000000..c98b845
--- /dev/null
+++ b/sdk/recipes/patches/libcurl/ppc-amigaos/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