annotate src/gd-1-libpng15.patch @ 4039:1c72016826aa

of-fl-core: update patch for --enable-64 * src/of-fl-core-1-fixes.patch: update patch
author John Donoghue
date Wed, 30 Sep 2015 14:11:45 -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 }