miniupnpc was just version bumped from 1.9.20150427 to 1.9.20150917. transmission build now fails: upnp.c:91:9: error: too few arguments to function ‘upnpDiscover’ ret = upnpDiscover (msec, NULL, NULL, 0, 0, &err); Reproducible: Always
They broke api and added a ttl argument (unsigned char), see https://github.com/miniupnp/miniupnp/commit/1da63faa4fff5cb30e5d4b848ceef80a292382b9. The default for ttl as mentioned in the code/commit should be two so, ret = upnpDiscover (msec, NULL, NULL, 0, 0, &err); should be ret = upnpDiscover (msec, NULL, NULL, 0, 0, 2, &err); I'll try to create a patch and post it here for ppl.
Created attachment 413502 [details, diff] fix compatibility with miniupnp api 14
(In reply to Sander Sweers from comment #2) > Created attachment 413502 [details, diff] [details, diff] > fix compatibility with miniupnp api 14 works good for me, thanks
(In reply to Sander Sweers from comment #2) > Created attachment 413502 [details, diff] [details, diff] > fix compatibility with miniupnp api 14 Much appreciated.
*** Bug 562074 has been marked as a duplicate of this bug. ***
(In reply to Sander Sweers from comment #2) I have committed this patch in the gentoo repository. Could you submit your patch upstream and provide a link back to here? https://trac.transmissionbt.com/report
(In reply to Mike Gilbert from comment #6) > Could you submit your patch upstream and provide a link back to here? Yes but they feel the need to moderate bugs from new bug accounts so I have no url at this time. When I have it I'll post it.
bug:http://trac.transmissionbt.com/ticket/6003 change: https://trac.transmissionbt.com/changeset/14565
Thanks! commit 92028dec3c192e6d8693d0d2b73b3ef3e7dfe522 Author: Mike Gilbert <floppym@gentoo.org> Date: Sun Oct 4 11:50:38 2015 -0400 net-p2p/transmission: Use upstream patch for miniupnpc 14 Package-Manager: portage-2.2.22_p5 net-p2p/transmission/files/2.84-miniupnp14.patch | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-)