Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321115 - The patch in media-libs/gd-2.0.35-r1 ebuild to support png png14 misses one config test/gd builds but is incomplete
Summary: The patch in media-libs/gd-2.0.35-r1 ebuild to support png png14 misses one c...
Status: RESOLVED DUPLICATE of bug 320837
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-22 21:22 UTC by Michael MacDonald
Modified: 2010-05-22 21:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael MacDonald 2010-05-22 21:22:54 UTC
The ebuild includes a sed-script to fix the build for libpng-1.4; there is one test in the config file that is not fixed, though; that test is still referencing libpng-1.2 and so fails.  This leads to a gd library that still builds successfully but only partially supports .png; this causes downstream .ebuilds like graphviz to fail.

This config check that is wrong is in the build log as:

checking for png_create_read_struct in -lpng12... no



Reproducible: Always

Steps to Reproduce:
Upgrade libpng to media-libs/libpng-1.4.2

emerge media-libs/gd with png USE flag

Actual Results:  
The built /usr/lib/libgd.so.2.0.0 does not have all the PNG related functions it should; it is missing, for example, gdImageCreateFromPng

Expected Results:  
Produced libgd should have all Png-related functions declared in /usr/include/gd.h
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-05-22 21:34:43 UTC
it's already fixed in -r2

*** This bug has been marked as a duplicate of bug 320837 ***