1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- fix check, so png is detected.

Submitted by:	tron@freenode
This commit is contained in:
Dirk Meyer 2010-03-28 09:34:32 +00:00
parent 7a588de579
commit 37b8b6d26b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251615
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= gd
PORTVERSION= 2.0.35
PORTREVISION?= 6
PORTREVISION?= 7
PORTEPOCH= 1
CATEGORIES+= graphics
MASTER_SITES= http://www.libgd.org/releases/

View File

@ -5,7 +5,7 @@
}
- if (!png_check_sig (sig, 8)) { /* bad signature */
+ if (!png_sig_cmp (sig, 0, 8)) { /* bad signature */
+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
return NULL; /* bad signature */
}