Subject: Re: png ABI bump - why?
To: None <tech-pkg@netbsd.org>
From: None <joerg@britannica.bec.de>
List: tech-pkg
Date: 04/22/2006 15:54:17
On Sat, Apr 22, 2006 at 09:34:34AM -0400, Todd Vierling wrote:
> On 4/22/06, Jaromir Dolecek <jdolecek@netbsd.org> wrote:
> > > Because of this part, which you conveniently quoted:
> > > > . link against libpng12 (instead of libpng) in all cases.
> > > >
> >
> > How does this affect me when I'm compiling packages
> > with older png (pre-change) ? The older package doesn't
> > link against libpng12.
> 
> If part of the downstream png fix is to link against libpng12, then
> gimp needs an override BUILDLINK_API_DEPENDS.png so that
> USE_ABI_DEPENDS=no has no effect for gimp.

I think that depends on the intelligence of the linker. libpng12 is
linked to by libpng, so if rtld decides those two are identical (since
they resolve to the same inode), you are fine without the bump.

Joerg