summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-20 12:51:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-20 12:51:52 +0000
commitaf052c50df14bec486b78c11bab543b9e35b0f5e (patch)
treeb5ad22226f3c0c824bc30bcf858d2b5b93bf12fb /x11-libs/libmatchbox/files
parentia64/s390/sh/sparc stable wrt #356545 (diff)
downloadgentoo-2-af052c50df14bec486b78c11bab543b9e35b0f5e.tar.gz
gentoo-2-af052c50df14bec486b78c11bab543b9e35b0f5e.tar.bz2
gentoo-2-af052c50df14bec486b78c11bab543b9e35b0f5e.zip
Fix libpng-1.4.x patch wrt #359583.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/libmatchbox/files')
-rw-r--r--x11-libs/libmatchbox/files/libmatchbox-1.9-libpng14.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-libs/libmatchbox/files/libmatchbox-1.9-libpng14.patch b/x11-libs/libmatchbox/files/libmatchbox-1.9-libpng14.patch
index 4f87a9bb1b31..6ba3c49243a0 100644
--- a/x11-libs/libmatchbox/files/libmatchbox-1.9-libpng14.patch
+++ b/x11-libs/libmatchbox/files/libmatchbox-1.9-libpng14.patch
@@ -1,4 +1,4 @@
-http://repos.archlinux.org/wsvn/community/libmatchbox/trunk/PKGBUILD
+http://projects.archlinux.org/svntogit/community.git/tree/libmatchbox/trunk/PKGBUILD?id=43f68b59fb790eb685d18a2f189c7e3055c77b30
--- libmb/mbpixbuf.c
+++ libmb/mbpixbuf.c
@@ -7,7 +7,7 @@ http://repos.archlinux.org/wsvn/community/libmatchbox/trunk/PKGBUILD
fread( header, 1, 8, fd );
- if ( ! png_check_sig( header, 8 ) )
-+ if ( ! png_sig_cmp( header, 0, 8 ) )
++ if ( ! png_sig_cmp( header, 0, 8 ) == 0 )
{
fclose(fd);
return NULL;