Author: megabajt                     Date: Sat Jan 30 00:58:44 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixes build with libpng 1.4

---- Files affected:
packages/Thunar:
   Thunar-libpng.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/Thunar/Thunar-libpng.patch
diff -u /dev/null packages/Thunar/Thunar-libpng.patch:1.1
--- /dev/null   Sat Jan 30 01:58:44 2010
+++ packages/Thunar/Thunar-libpng.patch Sat Jan 30 01:58:39 2010
@@ -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;
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to