pkgsrc-Bugs archive

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

Re: pkg/39421 (net/mtr specifies -Wno-pointer-sign, breaking NetBSD3)



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

From: Tonnerre Lombard <tonnerre%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/39421 (net/mtr specifies -Wno-pointer-sign, breaking
 NetBSD3)
Date: Fri, 29 Aug 2008 08:37:12 +0200

 Salut, tron%NetBSD.org@localhost,
 
 On Thu, 28 Aug 2008 20:14:39 +0000 (UTC), tron%NetBSD.org@localhost wrote:
 > This problem is related to GCC 3.x and not NetBSD 3.x. Can you please
 > test whether revision 1.52 of "pkgsrc/net/mtr/Makefile" fixes the
 > problem?
 
 It fixes the specific problem at hand, yes. However, I get a different
 one:
 
 In file included from mtr.c:31:
 mtr.h:79: error: conflicting types for `__socklen_t'
 /usr/include/sys/ansi.h:52: error: previous declaration of `__socklen_t'
 
 Maybe configure discovers something wrongly?
 
 conftest.c:38: error: parse error before "ac__type_new_"
 conftest.c:38: warning: data definition has no type or storage class
 conftest.c: In function `main':
 conftest.c:42: error: parse error before ')' token
 configure:7863: $? = 1
 configure: failed program was:
 | #include <netinet/in.h>
 |
 |
 | typedef socklen_t ac__type_new_;
 | int
 | main ()
 | {
 | if ((ac__type_new_ *) 0)
 |   return 0;
 | if (sizeof (ac__type_new_))
 |   return 0;
 |   ;
 |   return 0;
 | }
 configure:7878: result: no
 
 Looks problematic. Shall I create a separate PR or leave it here?
 
                                Tonnerre
 


Home | Main Index | Thread Index | Old Index