- fix defunt patch for png-1.4.1

- bump PORTREVISION
PR:	145180
Sumbitted by:	Barbara
Tested by:	dinoex, garga
This commit is contained in:
Dirk Meyer
2010-03-30 13:55:19 +00:00
parent c2f411108f
commit 479e29c6d5
2 changed files with 2 additions and 2 deletions

View File

@@ -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/ \

View File

@@ -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;