wok rev 25341
amule: update to new libupnp API
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 24 16:17:15 2022 +0000 (2022-07-24) |
parents | e685e7c4c950 |
children | 1df2f00504a9 |
files | amule/receipt |
line diff
1.1 --- a/amule/receipt Sun Jul 24 16:14:12 2022 +0000 1.2 +++ b/amule/receipt Sun Jul 24 16:17:15 2022 +0000 1.3 @@ -35,6 +35,11 @@ 1.4 sed -i 's/pubkey.DEREncode(asink);/pubkey.AccessMaterial().Save(asink);/g' \ 1.5 src/ClientCreditsList.cpp 1.6 1.7 + # Fixed libupnp API breakage. 1.8 + sed -e 's|UpnpInit(ipAddress|UpnpInit2(0|' -e 's|UpnpInit)|UpnpInit2)|' \ 1.9 + -e 's|ipAddress = NULL|ipAddress|' -e 's|port = 0|port|' \ 1.10 + -i src/UPnPBase.cpp 1.11 + 1.12 ./configure \ 1.13 --prefix=/usr \ 1.14 $CONFIGURE_ARGS &&