Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 15:51:43 +0200
From:      marius@alchemy.franken.de
To:        Matt <matt@xtaz.co.uk>
Cc:        ports@freebsd.org
Subject:   Re: Nmap 3.20 port broken ?
Message-ID:  <20030411155143.B53107@newtrinity.zeist.de>
In-Reply-To: <20030411133544.M62977@xtaz.co.uk>; from matt@xtaz.co.uk on Fri, Apr 11, 2003 at 02:36:42PM %2B0100
References:  <20030411131646.M83910@xtaz.co.uk> <20030411152955.A53107@newtrinity.zeist.de> <20030411133544.M62977@xtaz.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 11, 2003 at 02:36:42PM +0100, Matt wrote:
> On Fri, 11 Apr 2003 15:29:55 +0200, marius wrote
> > On Fri, Apr 11, 2003 at 02:18:43PM +0100, Matt wrote:
> > > When trying to portupgrade the recently commited nmap-3.20 port on 
> FreeBSD 
> > > 5.0-CURRENT:
> > > 
> > > Is this the result of a cvsup halfway through a commit/mirror or is it 
> b0rk3d?
> > > 
> > 
> > please make sure you have security/nmap/files/patch-nbase::getopt.h
> 
> [root@aftershock ports]# ls -al security/nmap/files/patch-nbase\:\:getopt.h 
> -rw-r--r--  1 root  wheel  517 Apr 11 11:00 security/nmap/files/patch-
> nbase::getopt.h

hrm, strange, worked for me on up-to-date current when i submitted the
patch. could you please try to replace the '+#if FREEBSD' in 
patch-nbase::getopt.h with '+#if __FreeBSD__' and compile again?
FREEBSD should get defined by nmap but that seems to fail on your
system.

> 
> The error looks like some incompatibility in header files on -current. 
> However the older namp 3.00 port was compiling/working fine.
> 

that's because nmap 3.00 is compiled with cc while nmap 3.20 is written
in c++.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030411155143.B53107>