wok-current diff libpng+apng/receipt @ rev 24215
updated perl-glib (1.3292 -> 1.3293)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:25:16 2021 +0100 (2021-12-31) |
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 Fri Dec 31 16:25:16 2021 +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 \