pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43546: pkgsrc/emulators/wine has unresolved PNG linkage error



The following reply was made to PR pkg/43546; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/43546: pkgsrc/emulators/wine has unresolved PNG linkage
 error
Date: Thu, 1 Jul 2010 17:23:15 +0200

 On Thu, Jul 01, 2010 at 11:35:00AM +0000, 
rein%heethoofdje.13thmonkey.org@localhost wrote:
 > When compiling the wine package from pkgsrc it breaks on linking with an
 > unresolved `png_set_longjump_fn'. When building with -k it shows atleast in
 > two places.
 
 I'm sorry, I don't have an i386 NetBSD running.
 
 Does configure find libpng?
 
 dlls/oleaut32/olepicture.c contains weird code:
 ./dlls/oleaut32/olepicture.c:    if((libpng_handle = 
wine_dlopen(SONAME_LIBPNG, RTLD_NOW, NULL, 0)) != NULL) {
 ./dlls/oleaut32/olepicture.c:    if((p##f = wine_dlsym(libpng_handle, #f, 
NULL, 0)) == NULL) { \
 
 Perhaps you need to add some lines like
 ./dlls/oleaut32/olepicture.c:MAKE_FUNCPTR(png_get_PLTE);
 and
 ./dlls/oleaut32/olepicture.c:        LOAD_FUNCPTR(png_get_rowbytes);
 in that file.
 
 Similar for programs/winemenubuilder/winemenubuilder.c.
 
 Just guessing though.
  Thomas
 


Home | Main Index | Thread Index | Old Index