From a0c21e79a8608b8db3e3d32a278514a75708207a Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 22 Jan 2010 19:25:52 +0100 Subject: thunar-notrash: fix for new libpng Signed-off-by: Florian Pritz --- thunar-notrash/libpng-1.4.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 thunar-notrash/libpng-1.4.patch (limited to 'thunar-notrash/libpng-1.4.patch') diff --git a/thunar-notrash/libpng-1.4.patch b/thunar-notrash/libpng-1.4.patch new file mode 100644 index 0000000..7f38165 --- /dev/null +++ b/thunar-notrash/libpng-1.4.patch @@ -0,0 +1,12 @@ +diff -Naur Thunar-1.0.1.orig/thunar-vfs/thunar-vfs-thumb.c Thunar-1.0.1/thunar-vfs/thunar-vfs-thumb.c +--- Thunar-1.0.1.orig/thunar-vfs/thunar-vfs-thumb.c 2010-01-20 21:31:35.000000000 -0500 ++++ Thunar-1.0.1/thunar-vfs/thunar-vfs-thumb.c 2010-01-20 21:34:51.000000000 -0500 +@@ -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; -- cgit v1.2.3-24-g4f1b