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:
parent
7a588de579
commit
37b8b6d26b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251615
@ -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/
|
||||
|
@ -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 */
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user