Le samedi 19 novembre 2005 à 14:20 -0700, Wesley J. Landaker a écrit :
> Package: libpng12-dev
> Version: 1.2.8rel-5
> Severity: important
> 
> libpng12 doesn't export the png_save_uint_16 function, but this function
> is declared in a public header file (png.h). This is important because
> it is part of the public API, but can't actually be used.
> 
> This was stopping the sng package from building because it used this
> function. (See soon-to-be-closed bug #339889). I worked around this by
> not using the function, but replicating what it did (since it was simple).
> 
> Anyway, for this bug to be closed, either this function needs to be
> exported, or if the function really is not supposed to be used, the
> declaration needs to be removed from the public API and not listed in
> png.h.

Well, libpng is more perverted than what you think. That declaration
comes after :
#if defined(PNG_INTERNAL)

I have received confirmation from upstream that this symbol is not
supposed to be exported and not stable across versions. Yes, they don't
even know how to separate headers in png.h and e.g. png_private.h.

Regards,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           [EMAIL PROTECTED]
`. `'                        [EMAIL PROTECTED]
   `-  Debian GNU/Linux -- The power of freedom


Reply via email to