diff options
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 |