mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= gd
|
PORTNAME= gd
|
||||||
PORTVERSION= 2.0.35
|
PORTVERSION= 2.0.35
|
||||||
PORTREVISION?= 6
|
PORTREVISION?= 7
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES+= graphics
|
CATEGORIES+= graphics
|
||||||
MASTER_SITES= http://www.libgd.org/releases/
|
MASTER_SITES= http://www.libgd.org/releases/
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
- if (!png_check_sig (sig, 8)) { /* bad signature */
|
- 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 */
|
return NULL; /* bad signature */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue