- fix build for png-1.4.1
PR: 145119
This commit is contained in:
parent
a8941c0a62
commit
4b4afb4b67
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251681
1 changed files with 11 additions and 0 deletions
11
x11-fm/thunar/files/patch-thunar-vfs-thumb.c
Normal file
11
x11-fm/thunar/files/patch-thunar-vfs-thumb.c
Normal file
|
@ -0,0 +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;
|
Loading…
Reference in a new issue