diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2006-12-23 15:29:34 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2006-12-23 15:29:34 +0000 |
commit | 094ad8b9bf42f7d9bc3539fb98cf97c5abeacf9a (patch) | |
tree | 25df0ead00ed98f59cd3f4bbb590075ddec13d87 /security/nmap/files/patch-output.cc | |
parent | Fix overlong entry in make config (diff) |
- Fix build on FreeBSD 4.x.
PR: ports/106911
Submitted by: Daniel Roethlisberger <daniel@roe.ch> (maintainer)
Notes
Notes:
svn path=/head/; revision=180605
Diffstat (limited to 'security/nmap/files/patch-output.cc')
-rw-r--r-- | security/nmap/files/patch-output.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/nmap/files/patch-output.cc b/security/nmap/files/patch-output.cc new file mode 100644 index 000000000000..7a1d364dfcb9 --- /dev/null +++ b/security/nmap/files/patch-output.cc @@ -0,0 +1,13 @@ +--- output.cc.orig Fri Dec 8 04:01:19 2006 ++++ output.cc Mon Dec 18 15:50:13 2006 +@@ -742,8 +742,8 @@ + case LOG_MACHINE: + case LOG_SKID: + case LOG_XML: +-#ifdef WIN32 +- apcopy = ap; ++#if defined(WIN32) || (defined(FREEBSD) && (OSVERSION < 500000)) ++ apcopy = ap; + #else + va_copy(apcopy, ap); /* Needed in case we need to so a second vnsprintf */ + #endif |