1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- fix build for png-1.4.1

Whitespace fixes
This commit is contained in:
Dirk Meyer 2010-03-29 06:32:45 +00:00
parent 02246fee51
commit 6ed6b44890
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251683

View File

@ -1,11 +1,11 @@
--- work.bk/Thunar-1.0.1/thunar-vfs/thunar-vfs-thumb.c 2009-01-12 12:38:49.000000000 -0800
+++ work/Thunar-1.0.1/thunar-vfs/thunar-vfs-thumb.c 2010-03-28 19:57:36.000000000 -0700
@@ -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;
--- thunar-vfs/thunar-vfs-thumb.c.orig 2009-01-12 21:38:49.000000000 +0100
+++ thunar-vfs/thunar-vfs-thumb.c 2010-03-29 08:32:55.000000000 +0200
@@ -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;