Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308667 - briquolo-0.5.7 fails to build with libpng14
Summary: briquolo-0.5.7 fails to build with libpng14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.4
  Show dependency tree
 
Reported: 2010-03-09 15:53 UTC by Ai Locke Shinseiko (Wizzleby)
Modified: 2010-03-09 16:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
briquolo-libpng14.patch (briquolo-libpng14.patch,1.18 KB, patch)
2010-03-09 15:56 UTC, Ai Locke Shinseiko (Wizzleby)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ai Locke Shinseiko (Wizzleby) 2010-03-09 15:53:42 UTC
MOGL_Image.cpp: In member function ‘virtual bool MOGL_Image::ChargerPNG(const char*)’:
MOGL_Image.cpp:186: error: ‘png_infopp_NULL’ was not declared in this scope
MOGL_Image.cpp:194: error: ‘png_infopp_NULL’ was not declared in this scope
MOGL_Image.cpp:238: error: ‘png_set_gray_1_2_4_to_8’ was not declared in this scope
Comment 1 Ai Locke Shinseiko (Wizzleby) 2010-03-09 15:56:38 UTC
Created attachment 222843 [details, diff]
briquolo-libpng14.patch

replaces png_infopp_NULL with NULL
converts png_set_gray_1_2_4_to_8() to  png_set_expand_gray_1_2_4_to_8()
builds with libpng12 and libpng14
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-09 16:59:31 UTC
+  09 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> briquolo-0.5.7.ebuild,
+  +files/briquolo-0.5.7-libpng14.patch:
+  Fix building with libpng14 wrt #308667 by Locke Shinseiko (Wizzleby).