|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>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
|Attachments:||partial fix for libpng-1.5, exhibits missing blue channel|
Description Stuart Longland (RETIRED) 2011-07-03 03:41:55 UTC
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.
Comment 1 Stuart Longland (RETIRED) 2011-07-03 23:43:29 UTC
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.