annotate src/gd-1-libpng15.patch @ 3725:2acaa9943159

qscintilla: update 2.8.4 * src/qscintilla.mk: update to version and checksum for 2.8.4
author John Donoghue
date Mon, 20 Oct 2014 11:01:00 -0400
parents 99516e73b368
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1620
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2333
diff changeset
2 # See index.html for further information.
1620
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
3
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
4 This patch has been taken from:
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
5 http://bugs.gentoo.org/show_bug.cgi?id=305101
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
6 http://repos.archlinux.org/wsvn/packages/gd/trunk/libpng14.patch
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
7
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
8 --- a/gd_png.c
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
9 +++ b/gd_png.c
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
10 @@ -149,7 +149,7 @@
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
11 return NULL;
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
12 }
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
13
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
14 - if (!png_check_sig (sig, 8)) { /* bad signature */
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
15 + if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
16 return NULL; /* bad signature */
7cc1f4c38523 package gd: libpng15 compatibility
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
17 }