Created attachment 413506 [details] build.log from failed compile The core problem like Bug 562020: miniupnp has added a new parameter to this function and programs using this API break. From #562020: Commit that added the API: https://github.com/miniupnp/miniupnp/commit/1da63faa4fff5cb30e5d4b848ceef80a292382b9 Error in case of megaglest: /var/tmp/portage/games-strategy/megaglest-3.11.1/work/megaglest-3.11.1/source/shared_lib/sources/platform/posix/socket.cpp: In static member function ‘static int Shared::Platform::UPNP_Tools::upnp_init(void*)’: /var/tmp/portage/games-strategy/megaglest-3.11.1/work/megaglest-3.11.1/source/shared_lib/sources/platform/posix/socket.cpp:2569:113: error: invalid conversion from ‘int*’ to ‘unsigned char’ [-fpermissive] devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, &upnp_error); ^ /var/tmp/portage/games-strategy/megaglest-3.11.1/work/megaglest-3.11.1/source/shared_lib/sources/platform/posix/socket.cpp:2569:113: error: too few arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)’ In file included from /var/tmp/portage/games-strategy/megaglest-3.11.1/work/megaglest-3.11.1/source/shared_lib/sources/platform/posix/socket.cpp:58:0: /usr/include/miniupnpc/miniupnpc.h:54:1: note: declared here upnpDiscover(int delay, const char * multicastif,
Created attachment 413546 [details, diff] Add miniupnpc api 14 support Totally untested but should work
Yep. The patch works. Any chances to have this included in the official build?
in portage. thanks for the bug report and patch.