Closed Bug 634652 Opened 13 years ago Closed 13 years ago

xulrunner compilation against libpng 1.5.1 fails

Categories

(Core :: Graphics: ImageLib, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 645519

People

(Reporter: hanno, Unassigned)

Details

Attachments

(1 file)

When trying to compile xulrunner against libpng 1.5.1, I get an error:

nsPNGDecoder.cpp:393:43: error: invalid conversion from 'char**' to 'png_byte**'
nsPNGDecoder.cpp:393:43: error:   initializing argument 5 of 'png_uint_32 png_get_iCCP(const png_struct*, const png_info*, char**, int*, png_byte**, png_uint_32*)'

libpng 1.5 is more strict regarding types, I'll attach a patch to change char* to png_charp and png_bytep.
Trunk has been patched.  See bug #645519
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: