Mercurial > mxe-octave
view src/gd-1-libpng14.patch @ 1082:34f5daca82f4
bugfix: support libpng-1.4 in package gd (by Tony Theodore)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 16 Jul 2010 15:09:33 +0200 |
parents | |
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 */ }