Index: net-p2p/transmission-cli/files/patch-libtransmission_upnp.c =================================================================== --- net-p2p/transmission-cli/files/patch-libtransmission_upnp.c (revision 0) +++ net-p2p/transmission-cli/files/patch-libtransmission_upnp.c (working copy) @@ -0,0 +1,15 @@ +--- libtransmission/upnp.c.orig 2014-07-01 17:08:59 UTC ++++ libtransmission/upnp.c +@@ -86,7 +86,11 @@ tr_upnpDiscover (int msec) + struct UPNPDev * ret; + bool have_err; + +-#if (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */ ++#if (MINIUPNPC_API_VERSION >= 14) /* security fix */ ++ int err = UPNPDISCOVER_SUCCESS; ++ ret = upnpDiscover (msec, NULL, NULL, 0, 0, 2, &err); ++ have_err = err != UPNPDISCOVER_SUCCESS; ++#elseif (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */ + int err = UPNPDISCOVER_SUCCESS; + ret = upnpDiscover (msec, NULL, NULL, 0, 0, &err); + have_err = err != UPNPDISCOVER_SUCCESS; Property changes on: net-p2p/transmission-cli/files/patch-libtransmission_upnp.c ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property