Please sign in to comment.
Add small patch to fix build of nmap with clang
This adds a very small patch to fix an issue with building nmap with clang. The crux of the issue is that clang no longer compiles files with void main() instead requiring int main(). This causes the configure to fail when attempting to identify if a certain feature exists which causes nmap to include its own version which off course causes a compile failure because now you have two structs with the same name and two functions with the same name in the same compilation unit. This patch should probably be sent upstream as well.
- Loading branch information...