pkgsrc-Bugs archive

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

Re: pkg/44244 (crawl does not compile using GNU/Linux (pkgsrc 20010Q3))



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

From: Ruben Gonzalez Arnau <rga%sdf.lonestar.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/44244 (crawl does not compile using GNU/Linux  (pkgsrc
 20010Q3))
Date: Wed, 29 Dec 2010 05:29:33 +0100

 On Wed, Dec 29, 2010 at 01:33:41AM +0000, dholland%NetBSD.org@localhost wrote:
 > Synopsis: crawl does not compile using GNU/Linux  (pkgsrc 20010Q3)
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: dholland%NetBSD.org@localhost
 > State-Changed-When: Wed, 29 Dec 2010 01:33:40 +0000
 > State-Changed-Why:
 > Did the commit fix it?
 > 
 > 
 > 
 
 Yes, sorry delay.
      
 Your commit fix DB problem (I think that fixes other packages with the same 
problem too), but it has another error not related during compile session.
      
 earth:/usr/pkgsrc/www/crawl#  bmake
 => Bootstrap dependency digest>=20010302: found digest-20080510
 => Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
 ===> Building for crawl-0.4nb8
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include
 -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include 
 -Wall -c dns.c
 dns.c: In function â??dns_readâ??: 
 dns.c:155:5: warning: pointer targets in assignment differ in signedness
 dns.c: In function â??dns_resolveâ??: 
 dns.c:565:14: error: â??EAI_NODATAâ?? undeclared (first use in this
 function) 
 dns.c:565:14: note: each undeclared identifier is reported only once for
 each function it appears in
 *** Error code 1
      
      
 A simple workaround to compile, after that, compiles and works fine, thank you 
:)
      
 vim workdir/pkgsrc/www/crawl/work/crawl-0.4/dns.c
 
 Line 42,
 
 +#ifdef EAI_NODATA
         if (res != EAI_NODATA)
                 return (-1);
 +#endif
 
 -- 
 rga%sdf.lonestar.org@localhost
 


Home | Main Index | Thread Index | Old Index