diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2010-03-29 09:26:27 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2010-03-29 09:26:27 +0000 |
commit | d30573170a2c2a0e6686d335fba41dfdd795e70f (patch) | |
tree | 9c8939386107c2d73cc6758944df2cc143766687 /graphics/imlib2 | |
parent | b3885803b887b90fb9d11a05cf36cce319ef00a9 (diff) | |
download | ports-d30573170a2c2a0e6686d335fba41dfdd795e70f.tar.gz ports-d30573170a2c2a0e6686d335fba41dfdd795e70f.zip |
Notes
Diffstat (limited to 'graphics/imlib2')
-rw-r--r-- | graphics/imlib2/Makefile | 2 | ||||
-rw-r--r-- | graphics/imlib2/files/patch-loader_png.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index a156483483ec..485200935ff0 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -7,7 +7,7 @@ PORTNAME= imlib2 PORTVERSION= 1.4.1.000 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 2 CATEGORIES= graphics MASTER_SITES= ftp://ftp.springdaemons.com/pub/snapshots/e17/ \ diff --git a/graphics/imlib2/files/patch-loader_png.c b/graphics/imlib2/files/patch-loader_png.c index 124961969439..2a455b1f8225 100644 --- a/graphics/imlib2/files/patch-loader_png.c +++ b/graphics/imlib2/files/patch-loader_png.c @@ -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)) ++ if (png_check_sig(buf, 0, PNG_BYTES_TO_CHECK) != 0 ) { fclose(f); return 0; |