Closed
Bug 536184
Opened 15 years ago
Closed 15 years ago
Fails to build with libpng 1.4 betas
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
VERIFIED
FIXED
mozilla1.9.3a1
People
(Reporter: bero, Assigned: glennrp+bmo)
References
Details
Attachments
(1 file)
542 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux; en-US) AppleWebKit/532.4 (KHTML, like Gecko) Arora/0.10.1 Safari/532.4
Build Identifier: Firefox 3.6b5
libpr0n/encoders/png/nsPNGEncoder.cpp fails to build with libpng 1.4 betas because png_voidp_NULL is no longer defined.
Given png_voidp_NULL has never been defined to anything but (void*)0, the obvious fix is safe and doesn't break building with older libpng versions.
Reproducible: Always
Steps to Reproduce:
1. Install libpng 1.4beta, apply apng patch
2. Configure firefox 3.6b5 for use with system libpng
3. make
Actual Results:
Errors out
Expected Results:
Compiles and works
Reporter | ||
Comment 1•15 years ago
|
||
Attachment #418652 -
Flags: review?
Updated•15 years ago
|
Component: General → ImageLib
QA Contact: general → imagelib
Assignee | ||
Comment 2•15 years ago
|
||
OK except maybe better to change it to NULL instead of 0
Assignee: nobody → glennrp+bmo
Assignee | ||
Comment 3•15 years ago
|
||
(In reply to comment #2)
> OK except maybe better to change it to NULL instead of 0
Better yet, to "nsnull" along with the other NULL in the
file.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Comment 4•15 years ago
|
||
I will include the fix (using nsnull) in the patch to upgrade to
libpng-1.4.0 (bug #532645), which we expect to publish on January 3, 2010.
Depends on: 532645
Comment 5•15 years ago
|
||
Fixed by patch in bug 532645.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Updated•15 years ago
|
Attachment #418652 -
Flags: review?
Assignee | ||
Updated•15 years ago
|
Assignee | ||
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•