Hello,
to build with multiple versions of libminiupnpc-dev,
replace
devlist = upnpDiscover(3000, NULL, NULL, 0, 0, &result);
by :
#if defined(MINIUPNPC_API_VERSION) && (MINIUPNPC_API_VERSION >= 14)
miniupnpc_dev = upnpDiscover(3000, NULL, NULL, 0, 0, 2, &result); /* use
default TTL of 2
Source: warzone2100
Version: 3.2.1-2
Severity: important
Hi,
Rebuilding warzone2100 with libminiupnpc 2.0.20171212, that I have just uploaded
to Experimental (currently in NEW) leads to FTBFS:
netplay.cpp: In function ‘int upnp_init(void*)’:
netplay.cpp:954:50: error: invalid conversion from ‘in
2 matches
Mail list logo