mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
- fix build for png-1.4.1
PR: 145112
This commit is contained in:
parent
2c380c2237
commit
cfb3d04b47
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251651
11
print/dvipdfmx/files/patch-src-pngimage.c
Normal file
11
print/dvipdfmx/files/patch-src-pngimage.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/pngimage.c.orig 2009-05-11 04:15:26.000000000 +0200
|
||||
+++ src/pngimage.c 2010-03-28 19:46:33.000000000 +0200
|
||||
@@ -148,7 +148,7 @@
|
||||
rewind (png_file);
|
||||
if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
|
||||
sizeof(sigbytes) ||
|
||||
- (!png_check_sig (sigbytes, sizeof(sigbytes))))
|
||||
+ (png_sig_cmp (sigbytes, 0, sizeof(sigbytes))))
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
Loading…
Reference in New Issue
Block a user