trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] digikam - error: invalid use of incomplete type 'png_struct {aka struct png_struct_def}'

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 28 Mar 2012 13:07:31 -0500
On 03/28/2012 12:14 PM, E. Liddell wrote:
> NetBSD may have patched this, but I can't find the actual patch file, just
> references to same ("Add media-gfx/gwenview-1.4.2 with libpng 1.5 
> buildfix (NetBSD patch); Fix media -gfx/digikam-0.9.6 to build with 
> libpng 1.5 (NetBSD patch)") and some incomplete chunks from a 
> now-deceased website.

Yep, I've found little bits and pieces around as well, but no off-the-shelf
patch. It looks like we will just have to open libpng/src/png.c libpng/src/png.h
and the digikam and gwenview files and patch the problems for TDE.

I'm no programmer, but I think the lack of direct access to png_struct and
png_info mean we will have to add a class/struct instantation for png_struct and
png_info in each of the files that currently call the structures directly and
change the calls to use calls through the instance we just created instead.

That may be way off, but from reading and my limited understanding, that's the
rabbit trail I'm trying to follow...

-- 
David C. Rankin, J.D.,P.E.