Subject: Re: Warning: graphics/png is currently broken
To: Bernd Ernesti <veego@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: pkgsrc-users
Date: 04/17/2006 11:50:19
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.
Did you find anything else break because of that?

Cheers,
 Thomas