Subject: Re: Warning: graphics/png is currently broken
To: None <,>
From: Bernd Ernesti <>
List: pkgsrc-users
Date: 04/17/2006 14:46:22
On Mon, Apr 17, 2006 at 11:50:19AM +0200, Thomas Klausner wrote:
> On Mon, Apr 17, 2006 at 10:16:05AM +0200, Bernd Ernesti wrote:
> > The difference comes from a linker script used for the libpng12 library.
> > libtool is called with this option: -Wl,--version-script=libpng.vers
> > 
> > and that script doesn't have some entries which will be gone, as noted
> > in libpng.txt:
> > 
> >  The old libpng functions png_read_init(), png_write_init(),
> >  png_info_init(), png_read_destroy(), and png_write_destroy() have been
> >  moved to PNG_INTERNAL in version 0.95 to discourage their use.  These
> >  functions will be removed from libpng version 2.0.0.
> Ok, so cups uses a deprecated API. We should link it against the old libpng
> then. I'll take a look.

I only had to correct the link and then cups build.

> Did you find anything else break because of that?

Not yet, it takes some time to build all packages.
I only noticed that gd used libpng12.