From eb01b89e3e2cd6f74053b825cd1a31e07a60dd36 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 2 Apr 2017 18:13:15 +0100 Subject: Fix Curl build for m68k-unknown-amigaos This patch shouldn't be needed; this needs fixing upstream --- .../libcurl/m68k-unknown-amigaos/src.tool_operate.c.p | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sdk/recipes/patches/libcurl/m68k-unknown-amigaos/src.tool_operate.c.p (limited to 'sdk/recipes/patches/libcurl') 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 */ -- cgit v1.2.3