Mercurial > mxe-octave
view src/gd-1-libpng14.patch @ 1398:c6aaf7d9c746
check most of the requirements in advance
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 18 Nov 2010 12:00:26 +0100 |
parents | 34f5daca82f4 |
children |
line wrap: on
line source
# This file is part of mingw-cross-env. # See doc/index.html for further information. This patch has been taken from: http://bugs.gentoo.org/show_bug.cgi?id=305101 http://repos.archlinux.org/wsvn/packages/gd/trunk/libpng14.patch --- a/gd_png.c +++ b/gd_png.c @@ -149,7 +149,7 @@ return NULL; } - if (!png_check_sig (sig, 8)) { /* bad signature */ + if (png_sig_cmp (sig, 0, 8)) { /* bad signature */ return NULL; /* bad signature */ }