bugLiquid War 6 - Bugs: bug #34614, [PATCH] libpng-1.5 support

 
 

bug #34614: [PATCH] libpng-1.5 support

Submitter:  None
Submitted:  Fri 21 Oct 2011 06:14:01 PM UTC
   
 
Category:  Install Severity:  3 - Normal
Status:  Fixed Privacy:  Public
Assigned to:  ufoot Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Oct 2011 08:26:07 PM UTC, comment #2: 

Applied patch on git repository. BTW, I also added support for libpng13/png.h as well, it happens nobody complained about that but there's no reason it would work better than with 14 or 15. Your patch does compile fine against 1.2, I didn't try with 1.5 but given its nature, and the fact you also patched configure.ac, I see no reason it wouldn't work out of the box.

Thanks for your help,

Christian.

Christian Mauduit <ufoot>
Group administrator
Sun 23 Oct 2011 09:26:01 PM UTC, comment #1: 

Thanks for the patch, will apply it ASAP.

Christian Mauduit <ufoot>
Group administrator
Fri 21 Oct 2011 06:14:01 PM UTC, original submission:  

In libpng-1.5 the struct members became private. People are expected to use the png_get_* functions. The applied patch replaces the struct access with function calls and adds support for libpng-1.5 in the configure.ac

I haven't tested this on a system with older libpng's, however png_get_rowbytes seems to be present even in libpng-1.2. So this should pose no problem.

-Wouter van Kesteren

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #24180:  liquidwar6-libpng-1.5.patch added by None (5KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ufoot (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-05 ufoot Open/ClosedOpen Closed
    2011-12-18 ufoot StatusReady For Test Fixed
    2011-10-24 ufoot CategoryEngine Install
        StatusIn Progress Ready For Test
    2011-10-23 ufoot StatusNone In Progress
        Assigned toNone ufoot
    2011-10-21 None Attached File- Added liquidwar6-libpng-1.5.patch, #24180

    Back to the top

    Powered by Savane 3.13-5884.
    Corresponding source code