$OpenBSD: patch-libtransmission_upnp_c,v 1.1 2014/02/03 13:30:52 dcoppa Exp $

Unbreak with miniupnpc>=1.9

--- libtransmission/upnp.c.orig	Mon Feb  3 13:06:25 2014
+++ libtransmission/upnp.c	Mon Feb  3 13:08:40 2014
@@ -120,7 +120,7 @@ tr_upnpGetSpecificPortMappingEntry (tr_upnp * handle, 
     tr_snprintf (portStr, sizeof (portStr), "%d", (int)handle->port);
 
 #if defined (HAVE_MINIUPNP_16)
-    err = UPNP_GetSpecificPortMappingEntry (handle->urls.controlURL, handle->data.first.servicetype, portStr, proto, intClient, intPort, NULL, NULL, NULL);
+    err = UPNP_GetSpecificPortMappingEntry (handle->urls.controlURL, handle->data.first.servicetype, portStr, proto, NULL, intClient, intPort, NULL, NULL, NULL);
 #elif defined (HAVE_MINIUPNP_15)
     err = UPNP_GetSpecificPortMappingEntry (handle->urls.controlURL, handle->data.first.servicetype, portStr, proto, intClient, intPort);
 #else
