summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/thunar-vfs/files/thunar-vfs-libpng14.patch')
-rw-r--r--xfce-extra/thunar-vfs/files/thunar-vfs-libpng14.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/xfce-extra/thunar-vfs/files/thunar-vfs-libpng14.patch b/xfce-extra/thunar-vfs/files/thunar-vfs-libpng14.patch
new file mode 100644
index 000000000000..63a6659ca7ae
--- /dev/null
+++ b/xfce-extra/thunar-vfs/files/thunar-vfs-libpng14.patch
@@ -0,0 +1,11 @@
+--- 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;