Opened 17 years ago

Closed 17 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:
Port:

Description

nmap 3.27 doesnt compile for me. The error is

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

from nmap.h:69, from main.cc:48:

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): com.apple.build

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@… 17 years ago.
see patch in the comments, i web browser is f*ing up ... grrrrrr :)

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by ole_guldberg@…

Attachment: MAINTAINS added

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

comment:1 Changed 17 years ago by eric@…

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

comment:2 Changed 17 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.