wok diff amule/receipt @ rev 25496

Up expat (2.5.0), CVE-2022-43680. Again.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:26:08 2022 +0000 (18 months ago)
parents 3bb5b852b821
children f2b7e5dd6de3
line diff
     1.1 --- a/amule/receipt	Sat Mar 19 15:22:11 2022 +0100
     1.2 +++ b/amule/receipt	Fri Dec 02 10:26:08 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 &&