Mercurial > mxe-octave
annotate src/gd-1-libpng15.patch @ 4015:f3d167e40f01
of-tisean: add new package
* Makefile.in: add tisean package
* build_packages.m: add tisean package to installer
* dist-files.mk: update for of-tisean-1-fortran.patch, of-tisean.mk
* src/of-tisean-1-fortran.patch: new file
* src/of-tisean.mk: new file
author | John Donoghue |
---|---|
date | Tue, 25 Aug 2015 08:40:44 -0400 |
parents | 99516e73b368 |
children |
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 } |