mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- fix build for png-1.4.1
This commit is contained in:
parent
6d01bed8d6
commit
a80fe6c8a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251675
11
x11-wm/windowmaker/files/patch-wrlib_load.c
Normal file
11
x11-wm/windowmaker/files/patch-wrlib_load.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- wrlib/load.c.orig 2004-10-12 20:21:31.000000000 +0200
|
||||
+++ wrlib/load.c 2010-03-29 07:34:45.000000000 +0200
|
||||
@@ -348,7 +348,7 @@
|
||||
|
||||
#ifdef USE_PNG
|
||||
/* check for PNG */
|
||||
- if (png_check_sig(buffer, 8))
|
||||
+ if (!png_sig_cmp(buffer, 0, 8))
|
||||
return IM_PNG;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user