diff options
author | joerg <joerg@pkgsrc.org> | 2020-03-26 02:30:26 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-03-26 02:30:26 +0000 |
commit | e6ca7cdcfe891b04c04e4b314b45c3742c485058 (patch) | |
tree | c4579046f77d3d88e6d43dca73b79cc3377ed860 /net/ftplibpp | |
parent | 991346340bcdddb41f2fb1944506069d93b4c01c (diff) | |
download | pkgsrc-e6ca7cdcfe891b04c04e4b314b45c3742c485058.tar.gz |
Fix <functional> vs BSD socket conflict
Diffstat (limited to 'net/ftplibpp')
-rw-r--r-- | net/ftplibpp/distinfo | 3 | ||||
-rw-r--r-- | net/ftplibpp/patches/patch-ftplib.cpp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/ftplibpp/distinfo b/net/ftplibpp/distinfo index 376b6855275..fe256a7031d 100644 --- a/net/ftplibpp/distinfo +++ b/net/ftplibpp/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2015/11/04 00:35:01 agc Exp $ +$NetBSD: distinfo,v 1.5 2020/03/26 02:30:26 joerg Exp $ SHA1 (ftplibpp-1.0.1.tar.gz) = 51bfa48cf54efd23becdc83eb0f5d16f3e7bec21 RMD160 (ftplibpp-1.0.1.tar.gz) = 6ea80510ba4aace8cf73474ab2bcb9373d799070 SHA512 (ftplibpp-1.0.1.tar.gz) = e613638419646d628c5966ac94634701108edba17e20b0fb7df8aa6702550ad0b3537e0c7f3a06120468db48f058c489e1aeb8692fadc5d02b1e5bc46de63a76 Size (ftplibpp-1.0.1.tar.gz) = 26688 bytes SHA1 (patch-aa) = d4b1d2a39fe2a157a671eeb012a2f5a6f77f39c0 +SHA1 (patch-ftplib.cpp) = df97c2155be65329d483294297d3ae668a12cdbb diff --git a/net/ftplibpp/patches/patch-ftplib.cpp b/net/ftplibpp/patches/patch-ftplib.cpp new file mode 100644 index 00000000000..7bafe942a0b --- /dev/null +++ b/net/ftplibpp/patches/patch-ftplib.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-ftplib.cpp,v 1.1 2020/03/26 02:30:27 joerg Exp $ + +--- ftplib.cpp.orig 2020-03-25 15:24:48.938447059 +0000 ++++ ftplib.cpp +@@ -766,7 +766,7 @@ int ftplib::FtpOpenPort(netbuf *nControl + } + + sin.in.sin_port = 0; +- if (bind(sData, &sin.sa, sizeof(sin)) == -1) ++ if (::bind(sData, &sin.sa, sizeof(sin)) == -1) + { + perror("bind"); + net_close(sData); |