diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-05-26 18:47:38 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2017-02-05 15:44:02 +0000 |
commit | be4915b13eceea4f80dee2235db508f5e50461f0 (patch) | |
tree | c4ef27bb63f587e84fbe7d1f5ddaa7830c3de8c1 | |
parent | daf71e6c34882f5116d4098c323f3dc5c1878dc0 (diff) | |
download | toolchains-be4915b13eceea4f80dee2235db508f5e50461f0.tar.gz toolchains-be4915b13eceea4f80dee2235db508f5e50461f0.tar.bz2 |
Fix curl build on AmigaOS
-rw-r--r-- | sdk/recipes/patches/libcurl/ppc-amigaos/lib.url.c.p | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.url.c.p b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.url.c.p new file mode 100644 index 0000000..0700566 --- /dev/null +++ b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.url.c.p @@ -0,0 +1,11 @@ +--- lib/url.c 2014-05-26 18:40:19.896019262 +0100 ++++ lib/url.c 2014-05-26 18:40:01.224019316 +0100 +@@ -4004,7 +4004,7 @@ static CURLcode parseurlandfillconn(stru + } + else { + /* Zone identifier is not numeric */ +-#if defined(HAVE_NET_IF_H) && defined(IFNAMSIZ) ++#if defined(HAVE_NET_IF_H) && defined(IFNAMSIZ) && !defined(__amigaos4__) + char ifname[IFNAMSIZ + 2]; + char *square_bracket; + unsigned int scopeidx = 0; |