updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / lib32-gd / libpng14.patch
blob19a3fda91fff75a2d633e0c9ac154c6bbd7379c3
1 diff -Nur gd-2.0.36RC1.orig/gd_png.c gd-2.0.36RC1/gd_png.c
2 --- gd-2.0.36RC1.orig/gd_png.c 2007-11-27 10:30:34.000000000 +0200
3 +++ gd-2.0.36RC1/gd_png.c 2010-01-17 17:14:11.000000000 +0200
4 @@ -151,7 +151,7 @@
5 return NULL;
8 - if (!png_check_sig (sig, 8)) { /* bad signature */
9 + if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
10 return NULL; /* bad signature */