diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-09 10:41:20 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-09 10:41:20 +0000 |
commit | b952bf8ad84289e77cc927653c9aefeba04b5257 (patch) | |
tree | f4b5605986c6b097963e3e50d01744bac33c9aad /xfce-base/thunar/files | |
parent | fix comment (diff) | |
download | gentoo-2-b952bf8ad84289e77cc927653c9aefeba04b5257.tar.gz gentoo-2-b952bf8ad84289e77cc927653c9aefeba04b5257.tar.bz2 gentoo-2-b952bf8ad84289e77cc927653c9aefeba04b5257.zip |
Fix building with libpng14.
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'xfce-base/thunar/files')
-rw-r--r-- | xfce-base/thunar/files/thunar-1.0.1-libpng14.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xfce-base/thunar/files/thunar-1.0.1-libpng14.patch b/xfce-base/thunar/files/thunar-1.0.1-libpng14.patch new file mode 100644 index 000000000000..cc43d12a3344 --- /dev/null +++ b/xfce-base/thunar/files/thunar-1.0.1-libpng14.patch @@ -0,0 +1,13 @@ +http://repos.archlinux.org/wsvn/packages/thunar/trunk/libpng-1.4.patch + +--- thunar-vfs/thunar-vfs-thumb.c ++++ thunar-vfs/thunar-vfs-thumb.c +@@ -1169,7 +1169,7 @@ + goto done0; + + /* verify the png signature */ +- if (G_LIKELY (png_check_sig ((png_bytep) signature, sizeof (signature)))) ++ if (G_LIKELY (!png_sig_cmp ((png_bytep) signature, 0, sizeof (signature)))) + rewind (fp); + else + goto done0; |