- fix defunt patch for png-1.4.1
- bump PORTREVISION PR: 145180 Sumbitted by: Barbara Tested by: dinoex, garga
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= imlib2
|
||||
PORTVERSION= 1.4.1.000
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ftp://ftp.springdaemons.com/pub/snapshots/e17/ \
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* if we haven't read the header before, set the header data */
|
||||
fread(buf, 1, PNG_BYTES_TO_CHECK, f);
|
||||
- if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
|
||||
+ if (png_check_sig(buf, 0, PNG_BYTES_TO_CHECK) != 0)
|
||||
+ if (png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK))
|
||||
{
|
||||
fclose(f);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user