wok diff amule/receipt @ rev 25463

Up expat (2.4.9) fixes CVE-2022-40674
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 29 20:05:23 2022 +0000 (20 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	Thu Sep 29 20:05:23 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 &&