summaryrefslogtreecommitdiffstats
path: root/thunar-notrash/libpng-1.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'thunar-notrash/libpng-1.4.patch')
-rw-r--r--thunar-notrash/libpng-1.4.patch12
1 files changed, 12 insertions, 0 deletions
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;