Subject: Re: png ABI bump - why?
To: Vincent <10.50@free.fr>
From: Thomas Klausner <wiz@netbsd.org>
List: tech-pkg
Date: 04/22/2006 11:11:59
On Sat, Apr 22, 2006 at 11:09:36AM +0200, Vincent wrote:
> I have had a problem in recompiling gimp24 with the new png 1.2.9. Some
> functions of libpng used in Gimp like "png_write_destroy" are local in
> the new libgimp12 and global in (the backward-compatible ?)
> libpng.so.3.9.0, as they were in png 1.2.8 and before:
>
> nm /usr/pkg/lib/libpng12.so | grep write_destroy
> 0001195c t png_write_destroy
>
> nm /usr/pkg/lib/libpng.so.3.9.0 | grep write_destroy
> 00013b9c T png_write_destroy
>
> And that causes a Gimp build failure. I had to manually patch libpng.so
> to make it point towards libpng.so.3.9.0.
>
> I have done something wrong, or is this a *real* problem?
gimp should be fixed to not use obsolete functions.
The graphics/gimp package has already been fixed, I'll take
a look at gimp24.
Cheers,
Thomas