mxcl/homebrew — pull request #10302 by bertjwregeer (2012-02-18 10:12:16+00:00)
Title: 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.

---

This would close https://github.com/mxcl/homebrew/issues/10300