# HG changeset patch # User Pascal Bellard # Date 1658679435 0 # Node ID 9b2b1195df6cfe548490a0d867036950caa63b40 # Parent e685e7c4c950dc49219de466b54254277d42cd5f amule: update to new libupnp API diff -r e685e7c4c950 -r 9b2b1195df6c amule/receipt --- a/amule/receipt Sun Jul 24 16:14:12 2022 +0000 +++ b/amule/receipt Sun Jul 24 16:17:15 2022 +0000 @@ -35,6 +35,11 @@ sed -i 's/pubkey.DEREncode(asink);/pubkey.AccessMaterial().Save(asink);/g' \ src/ClientCreditsList.cpp + # Fixed libupnp API breakage. + sed -e 's|UpnpInit(ipAddress|UpnpInit2(0|' -e 's|UpnpInit)|UpnpInit2)|' \ + -e 's|ipAddress = NULL|ipAddress|' -e 's|port = 0|port|' \ + -i src/UPnPBase.cpp + ./configure \ --prefix=/usr \ $CONFIGURE_ARGS &&