mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- fix build for png-1.4.1
PR: 145228
This commit is contained in:
parent
5752316c18
commit
56da19a5a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251888
11
graphics/xpaint/files/patch-readWritePNG.c
Normal file
11
graphics/xpaint/files/patch-readWritePNG.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- rw/readWritePNG.c.orig 2005-03-20 21:15:34.000000000 +0100
|
||||
+++ rw/readWritePNG.c 2010-03-29 16:48:36.000000000 +0200
|
||||
@@ -51,7 +51,7 @@
|
||||
fread(header, 1, 8, fp);
|
||||
fclose(fp);
|
||||
|
||||
- return png_check_sig( (unsigned char*) header, 8);
|
||||
+ return !png_sig_cmp( (unsigned char*) header, 0, 8);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user