wok-6.x diff libpng+apng/receipt @ rev 22482

updated antimicro (1.0 -> 2.23)
author Hans-G?nter Theisgen
date Mon Dec 30 15:31:22 2019 +0100 (2019-12-30)
parents 4fea4d70e3c3
children 65d7d867e0c1
line diff
     1.1 --- a/libpng+apng/receipt	Tue Apr 23 10:45:03 2019 +0200
     1.2 +++ b/libpng+apng/receipt	Mon Dec 30 15:31:22 2019 +0100
     1.3 @@ -25,8 +25,16 @@
     1.4  compile_rules()
     1.5  {
     1.6  	[ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL
     1.7 -	gzip -cd $SRC/$PATCH | patch -p0
     1.8 +	#gzip -cd $SRC/$PATCH | patch -p0
     1.9  
    1.10 +	# try to fix apng patch...
    1.11 +	gzip -cd $SRC/$PATCH > patch.apng
    1.12 +	for i in $(seq 267 -1 248); do
    1.13 +		sed -i "s|^\+PNG_EXPORT($i,|+PNG_EXPORT($(($i+2)),|" patch.apng
    1.14 +	done
    1.15 +	patch -p0 < patch.apng
    1.16 +	
    1.17 +	LIBS=-lrt \
    1.18  	./configure			\
    1.19  		--prefix=/usr		\
    1.20  		--disable-static	\