summaryrefslogtreecommitdiff
path: root/net-p2p/transmission-cli/files/patch-fix_without_ipv6
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-03-02 22:50:29 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-03-02 22:50:29 +0000
commitab03a81b568ef78076607365d1c2a81f7174d82a (patch)
treecacc7430cd0c3b2e1483c01ea2efb8c9bfe62599 /net-p2p/transmission-cli/files/patch-fix_without_ipv6
parentUpdate to 0.6. (diff)
net-p2p/transmission-*: update to 2.90
- Add POLARSSL and WOLFSSL support (like ftp/curl) - Hide LITE (unused) and DOCS (redundant) options from -web slave - Simplify r398996 and move to CONFIGURE_ENV - Drop r369657 hacks after upstream integration [1] - As implied by r378806 transfer maintainership back to crees Changes: https://trac.transmissionbt.com/wiki/Changes#version-2.90 PR: 194029 [1]
Notes
Notes: svn path=/head/; revision=409981
Diffstat (limited to 'net-p2p/transmission-cli/files/patch-fix_without_ipv6')
-rw-r--r--net-p2p/transmission-cli/files/patch-fix_without_ipv614
1 files changed, 7 insertions, 7 deletions
diff --git a/net-p2p/transmission-cli/files/patch-fix_without_ipv6 b/net-p2p/transmission-cli/files/patch-fix_without_ipv6
index 13fe62b6e7cf..fac20ad9a6b6 100644
--- a/net-p2p/transmission-cli/files/patch-fix_without_ipv6
+++ b/net-p2p/transmission-cli/files/patch-fix_without_ipv6
@@ -1,11 +1,11 @@
---- libtransmission/fdlimit.c.orig 2013-06-26 05:35:25.603458000 +0300
-+++ libtransmission/fdlimit.c 2013-06-30 10:01:10.000000000 +0300
-@@ -668,7 +668,7 @@
+--- libtransmission/fdlimit.c.orig 2015-07-01 00:54:41 UTC
++++ libtransmission/fdlimit.c
+@@ -517,7 +517,7 @@ tr_fdSocketCreate (tr_session * session,
if (gFd->peerCount < session->peerLimit)
- if ((s = socket (domain, type, 0)) < 0)
+ if ((s = socket (domain, type, 0)) == TR_BAD_SOCKET)
- if (sockerrno != EAFNOSUPPORT)
+ if (sockerrno != EPROTONOSUPPORT)
- tr_logAddError (_("Couldn't create socket: %s"), tr_strerror (sockerrno));
-
- if (s > -1)
+ {
+ char err_buf[512];
+ tr_logAddError (_("Couldn't create socket: %s"),