]> git.pld-linux.org Git - packages/libpng.git/blob - libpng-sh.patch
- updated to 1.6.20 (fixes CVE-2015-8126)
[packages/libpng.git] / libpng-sh.patch
1 --- libpng-1.6.20/tests/pngstest.orig   2015-09-26 00:48:24.000000000 +0200
2 +++ libpng-1.6.20/tests/pngstest        2015-12-05 18:52:37.106053733 +0100
3 @@ -17,7 +17,8 @@
4  shift
5  alpha="$1"
6  shift
7 -exec ./pngstest --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $(
8 +
9 +loop() {
10     for f in "${srcdir}/contrib/testpngs/"*.png
11     do
12        g=
13 @@ -49,4 +50,6 @@
14              test "$alpha" = "opaque" -o "$alpha" = "none" && echo "$g";;
15        esac
16     done
17 -)
18 +}
19 +
20 +exec ./pngstest --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $(loop)
This page took 0.104565 seconds and 3 git commands to generate.