Summary: | app-office/dia-0.97.1 fails to link against libpng-1.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stuart Longland (RETIRED) <redhatter> |
Component: | New packages | Assignee: | GNOME Office (OBSOLETE) <gnome-office+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.gnome.org/show_bug.cgi?id=653882 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 354479 | ||
Attachments: | partial fix for libpng-1.5, exhibits missing blue channel |
Comment on attachment 278907 [details, diff]
partial fix for libpng-1.5, exhibits missing blue channel
Better plan, use upstream's patch, see bug URL.
+ 07 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> dia-0.97.1.ebuild, + +files/dia-0.97.1-libpng15.patch: + Fix building with libpng15 wrt #373871 by Stuart Longland. Remove automagic + USE="png zlib" and always depend on libpng and zlib. |
Created attachment 278907 [details, diff] partial fix for libpng-1.5, exhibits missing blue channel app-office/dia-0.97.1 fails to build against libpng-1.5 due to dia accessing members of libpng structs directly. Build typically fails with the following compiler error: export_png.c: In function ‘export_png_ok’: export_png.c:181: error: dereferencing pointer to incomplete type make: *** [export_png.lo] Error 1 Attached is a partial fix to the issue, however a second issue has appeared, namely, the blue channel in the output is absent. I am investigating this now and will post an updated patch if I figure out what's going on.