Subject: Re: pkg/33325 (graphics/ImageMagick broken with new PNG)
To: None <adam@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Greg Oster <oster@cs.usask.ca>
List: pkgsrc-bugs
Date: 05/04/2006 23:40:03
The following reply was made to PR pkg/33325; it has been noted by GNATS.

From: Greg Oster <oster@cs.usask.ca>
To: Thomas Klausner <wiz@danbala.tuwien.ac.at>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/33325 (graphics/ImageMagick broken with new PNG) 
Date: Thu, 04 May 2006 17:37:05 -0600

 Thomas Klausner writes:
 > The following reply was made to PR pkg/33325; it has been noted by GNATS.
 > 
 > From: Thomas Klausner <wiz@danbala.tuwien.ac.at>
 > To: Greg Oster <oster@cs.usask.ca>
 > Cc: gnats-bugs@NetBSD.org
 > Subject: Re: pkg/33325 (graphics/ImageMagick broken with new PNG)
 > Date: Fri, 5 May 2006 01:09:19 +0200
 > 
 >  On Thu, May 04, 2006 at 03:05:02PM +0000, Greg Oster wrote:
 >  >  I see this now: 
 >  >   /usr/pkgsrc/graphics/ImageMagick/work.quadrapus/.buildlink/lib/libjasper
 > .so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdt
 > emp()
 >  >  magick/.libs/libMagick.so: undefined reference to `png_set_asm_flags'
 >  >  magick/.libs/libMagick.so: undefined reference to `png_get_asm_flags'
 >  >  
 >  >  when building on amd64.  See 33411 for system details.
 >  
 >  Could you please try to find out why PNG_ASSEMBLER_CODE_SUPPORTED
 >  is defined? I don't have an amd64 machine to test.
 
 seems to be from pngconf.h, where it gets defined here:
 
  #if defined(PNG_READ_SUPPORTED) && !defined(PNG_NO_ASSEMBLER_CODE)
  #  ifndef PNG_ASSEMBLER_CODE_SUPPORTED
  #    define PNG_ASSEMBLER_CODE_SUPPORTED
  #  endif
  
 (PNG_READ_SUPPORTED will be defined, since PNG_NO_READ_SUPPORTED is 
 not defined, and I can't find anywhere where PNG_NO_ASSEMBLER_CODE
 is defined... thus PNG_ASSEMBLER_CODE_SUPPORTED gets defined.)
 
 Later...
 
 Greg Oster