diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-10-14 22:56:59 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-10-14 22:56:59 +0800 |
commit | dcfa157023b19542d84da7694506d177fd7c4613 (patch) | |
tree | 7a13ae0547788b33f7d7c15d36e76b1485903bd1 /net-p2p/transmission-cli/files | |
parent | 6460d4a92e4c5424181fabaf0df96a4a8976fc6d (diff) | |
download | freebsd-ports-gnome-dcfa157023b19542d84da7694506d177fd7c4613.tar.gz freebsd-ports-gnome-dcfa157023b19542d84da7694506d177fd7c4613.tar.zst freebsd-ports-gnome-dcfa157023b19542d84da7694506d177fd7c4613.zip |
net-p2p/transmission-cli: chase r399209
https://github.com/miniupnp/miniupnp/commit/1da63faa4fff5cb30e5d4b848ceef80a292382b9
PR: 203768
Reported by: many
Obtained from: upstream
MFH: 2015Q4
X-MFH-With: r399209
Diffstat (limited to 'net-p2p/transmission-cli/files')
-rw-r--r-- | net-p2p/transmission-cli/files/patch-libtransmission_upnp.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-p2p/transmission-cli/files/patch-libtransmission_upnp.c b/net-p2p/transmission-cli/files/patch-libtransmission_upnp.c new file mode 100644 index 000000000000..17ce1bea3aa0 --- /dev/null +++ b/net-p2p/transmission-cli/files/patch-libtransmission_upnp.c @@ -0,0 +1,18 @@ +https://trac.transmissionbt.com/ticket/6003 + +Index: libtransmission/upnp.c +=================================================================== +--- libtransmission/upnp.c (revision 14564) ++++ libtransmission/upnp.c (revision 14565) +@@ -88,7 +88,11 @@ tr_upnpDiscover (int msec) + + #if (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */ + int err = UPNPDISCOVER_SUCCESS; ++ #if (MINIUPNPC_API_VERSION >= 14) /* adds ttl */ ++ ret = upnpDiscover (msec, NULL, NULL, 0, 0, 2, &err); ++ #else + ret = upnpDiscover (msec, NULL, NULL, 0, 0, &err); ++ #endif + have_err = err != UPNPDISCOVER_SUCCESS; + #else + ret = upnpDiscover (msec, NULL, NULL, 0); |