summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-04-02 18:13:15 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2017-04-02 18:13:15 +0100
commiteb01b89e3e2cd6f74053b825cd1a31e07a60dd36 (patch)
tree1a1613b8fb7c08f998cec7b62dec266b6ba7f176
parent042c35930cc063b68b646765d633d7ffd99fc519 (diff)
downloadtoolchains-eb01b89e3e2cd6f74053b825cd1a31e07a60dd36.tar.gz
toolchains-eb01b89e3e2cd6f74053b825cd1a31e07a60dd36.tar.bz2
Fix Curl build for m68k-unknown-amigaos
This patch shouldn't be needed; this needs fixing upstream
-rw-r--r--sdk/recipes/patches/libcurl/m68k-unknown-amigaos/src.tool_operate.c.p18
1 files changed, 18 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libcurl/m68k-unknown-amigaos/src.tool_operate.c.p b/sdk/recipes/patches/libcurl/m68k-unknown-amigaos/src.tool_operate.c.p
new file mode 100644
index 0000000..b0feb48
--- /dev/null
+++ b/sdk/recipes/patches/libcurl/m68k-unknown-amigaos/src.tool_operate.c.p
@@ -0,0 +1,18 @@
+--- src/tool_operate.c 2017-02-23 22:14:58.000000000 +0000
++++ src/tool_operate.c 2017-03-26 23:54:19.624614960 +0100
+@@ -1742,15 +1742,6 @@ static CURLcode operate_do(struct Global
+ }
+ }
+
+-#ifdef __AMIGA__
+- if(!result && outs.s_isreg && outs.filename) {
+- /* Set the url (up to 80 chars) as comment for the file */
+- if(strlen(url) > 78)
+- url[79] = '\0';
+- SetComment(outs.filename, url);
+- }
+-#endif
+-
+ #if defined(HAVE_UTIME) || \
+ (defined(WIN32) && (CURL_SIZEOF_CURL_OFF_T >= 8))
+ /* File time can only be set _after_ the file has been closed */