Opened 13 years ago
Closed 13 years ago
#3762 closed defect (fixed)
mapimageio.c contains a call to deprecated (and in libpng-1.4.0 removed) function png_check_sig
Reported by: | ejn | Owned by: | tbonfort |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | mapimageio, libpng |
Cc: |
Description
png_check_sig is deprecated since libpng 0.9, and removed in libpng 1.4.0 so that mapserver can't be built against libpng 1.4.0.
The suggested alternative function is png_sig_cmp.
The attached patch (against r11298) updates mapimageio.c to use png_sig_cmp instead of png_check_sig. After applying this patch, mapserver builds fine with libpng 1.4.0
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | ms-svn-patch_png_check_sig-png_sig_cmp.patch added |
---|
comment:1 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I'll apply it for beta3.
thanks for the patch!
Note:
See TracTickets
for help on using tickets.
Patch to use png_sig_cmp instead of png_check_sig