VirtualBox

Opened 14 years ago

Closed 14 years ago

#5615 closed defect (fixed)

VirtualBox 3.1.0 doesn't compile with libpng 1.4.0 betas => Fixed in SVN

Reported by: Bernhard Rosenkraenzer Owned by:
Component: other Version: VirtualBox 3.1.0
Keywords: Cc:
Guest type: other Host type: Linux

Description

VirtualBox 3.1.0 fails to compile with libpng 1.4.0 betas because it uses some libpng macros that have been deprecated forever and removed in 1.4.0:

png_voidp_NULL png_error_ptr_NULL png_infopp_NULL

Since they've never been defined to anything other than NULL casted to various types, it is safe to replace them with NULL or 0 unconditionally.

Attaching a patch that does that.

Attachments (1)

VirtualBox-3.1.0-libpng-1.4.patch (1.4 KB ) - added by Bernhard Rosenkraenzer 14 years ago.
Fix

Download all attachments as: .zip

Change History (3)

by Bernhard Rosenkraenzer, 14 years ago

Fix

comment:1 by Frank Mehnert, 14 years ago

Summary: VirtualBox 3.1.0 doesn't compile with libpng 1.4.0 betasVirtualBox 3.1.0 doesn't compile with libpng 1.4.0 betas => Fixed in SVN

Thanks for this report, fixed in SVN. The fix will be contained in the next maintenance release of VirtualBox.

comment:2 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use