pkgsrc-Bugs archive

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

RE: pkg/43485 (editors/emacs22 calls obsolete png_check_sig)



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

From: Rob Q <sd4dfg2%hotmail.com@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: RE: pkg/43485 (editors/emacs22 calls obsolete png_check_sig)
Date: Fri, 18 Jun 2010 10:03:31 -0400

 > The symbol you're mentioning is defined in png.h as:
 > #define png_check_sig(sig=2Cn) !png_sig_cmp((sig)=2C 0=2C (n))
 
 =A0I think (from using truss) that the compiler is picking up Solaris 10's =
 native /usr/include/libpng/png.h instead.
 
 #grep -i png /var/tmp/bmake.out=20
 =3D> Full dependency png>=3D1.4.2: found png-1.4.2
 checking png.h usability... yes
 checking png.h presence... yes
 checking for png.h... yes
 checking libpng/png.h usability... yes
 checking libpng/png.h presence... yes
 checking for libpng/png.h... yes
 checking for png_get_channels in -lpng... yes
 =A0 Does Emacs use -lpng?=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 yes
 
 
 From image.c:
 #if defined HAVE_LIBPNG_PNG_H
 # include <libpng/png.h>
 #else
 # include <png.h>
 #endif
 
 
 #grep png.h /tmp/truss.out
 19523:=A0 open("/usr/pkg/include/libpng/png.h"=2C O_RDONLY|O_NOCTTY) Err#2 =
 ENOENT
 19523:=A0 open("/usr/openwin/include/libpng/png.h"=2C O_RDONLY|O_NOCTTY) Er=
 r#2 ENOENT
 19523:=A0 open("./libpng/png.h"=2C O_RDONLY|O_NOCTTY)=A0=A0=A0=A0=A0=A0 Err=
 #2 ENOENT
 19523:=A0 open("/usr/dt/include/libpng/png.h"=2C O_RDONLY|O_NOCTTY) Err#2 E=
 NOENT
 19523:=A0 open("/usr/pkg/gcc34/include/libpng/png.h"=2C O_RDONLY|O_NOCTTY) =
 Err#2 ENOENT
 19523:=A0 open("/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include/=
 libpng/png.h"=2C O_RDONLY|O_NOCTTY) Err#2 ENOENT
 19523:=A0 open("/usr/include/libpng/png.h"=2C O_RDONLY|O_NOCTTY) =3D 3
 
                                         =20
 _________________________________________________________________
 The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with H=
 otmail.=20
 http://www.windowslive.com/campaign/thenewbusy?tile=3Dmulticalendar&ocid=3D=
 PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5=
 


Home | Main Index | Thread Index | Old Index