Requires BUILD_PATENTED.
Added patch to fix compilation with it.
Removed include file hack. It's incorrect and it's also npupnp that
needs fixing.
Refreshed npupnp patch to the newest version sent upstream.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This is on track to replace libupnp in the next version. Since libupnp
is not building with GCC10, do this now.
Also backported needed header patch.
Replace other patches with the upstream versions.
Signed-off-by: Rosen Penev <rosenp@gmail.com>