aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/transmission-cli/files
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-10-14 22:56:59 +0800
committerjbeich <jbeich@FreeBSD.org>2015-10-14 22:56:59 +0800
commitdcfa157023b19542d84da7694506d177fd7c4613 (patch)
tree7a13ae0547788b33f7d7c15d36e76b1485903bd1 /net-p2p/transmission-cli/files
parent6460d4a92e4c5424181fabaf0df96a4a8976fc6d (diff)
downloadfreebsd-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.c18
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);