diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-28 21:10:14 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-28 21:10:14 +0800 |
commit | 8b01dedb06e5b282be3c4c915136f9206887628c (patch) | |
tree | 356240d1e3c4a3e53dc116da9fe5fb034ee579de /graphics/xli | |
parent | 287e9e6bf7b2f6763405da168cfa6a01e6a20ed9 (diff) | |
download | freebsd-ports-gnome-8b01dedb06e5b282be3c4c915136f9206887628c.tar.gz freebsd-ports-gnome-8b01dedb06e5b282be3c4c915136f9206887628c.tar.zst freebsd-ports-gnome-8b01dedb06e5b282be3c4c915136f9206887628c.zip |
- fix logic of new png function
PR: 145106
Diffstat (limited to 'graphics/xli')
-rw-r--r-- | graphics/xli/Makefile | 2 | ||||
-rw-r--r-- | graphics/xli/files/patch-png.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/xli/Makefile b/graphics/xli/Makefile index 5245f94d0805..c15c460013b4 100644 --- a/graphics/xli/Makefile +++ b/graphics/xli/Makefile @@ -7,7 +7,7 @@ PORTNAME= xli PORTVERSION= 1.17.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= http://pantransit.reptiles.org/prog/xli/ \ ${MASTER_SITE_XCONTRIB} diff --git a/graphics/xli/files/patch-png.c b/graphics/xli/files/patch-png.c index 4a86159680e9..53e687f22eab 100644 --- a/graphics/xli/files/patch-png.c +++ b/graphics/xli/files/patch-png.c @@ -14,7 +14,7 @@ return 0; - ret = png_check_sig(buf, 8); -+ ret = png_sig_cmp(buf, 0, 8); ++ ret = !png_sig_cmp(buf, 0, 8); return (ret); } |