]> git.pld-linux.org Git - packages/Thunar.git/commitdiff
- fixes build with libpng 1.4
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sat, 30 Jan 2010 00:58:39 +0000 (00:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Thunar-libpng.patch -> 1.1

Thunar-libpng.patch [new file with mode: 0644]

diff --git a/Thunar-libpng.patch b/Thunar-libpng.patch
new file mode 100644 (file)
index 0000000..64e6a65
--- /dev/null
@@ -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 
+@@ -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;
This page took 0.197821 seconds and 4 git commands to generate.