Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#681 closed defect (fixed)

nmap doesnt compile - minor versionbump fixes this (included)

Reported by: ole_guldberg@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:


nmap 3.27 doesnt compile for me. The error is

In file included from nbase/nbase.h:197,

from nmap.h:69, from

nbase/getopt.h:103: declaration of C function `int getopt()' conflicts with /usr/include/unistd.h:182: previous declaration `int getopt(int, char* const*,

const char*)' here

make: * [main.o] Error 1

Warning: the following items did not execute (for nmap):

I have upgraded the port to 3.30 and i works (for me at least :-) ) - see the attachment for the patch

Attachments (1)

MAINTAINS (517 bytes) - added by ole_guldberg@… 18 years ago.
see patch in the comments, i web browser is f*ing up ... grrrrrr :)

Download all attachments as: .zip

Change History (3)

Changed 18 years ago by ole_guldberg@…

Attachment: MAINTAINS added

see patch in the comments, i web browser is f*ing up ... grrrrrr :)

comment:1 Changed 18 years ago by eric@…

Owner: changed from eric@… to darwinports-bugs@…

comment:2 Changed 18 years ago by mij@…

Resolution: fixed
Status: newclosed

I committed the upgrade to 3.30 earlier today.

Note: See TracTickets for help on using tickets.