summaryrefslogtreecommitdiff
path: root/security/nmap-devel/files/patch-nmap.cc
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-03-28 13:23:34 -0700
committerCy Schubert <cy@FreeBSD.org>2024-03-28 13:53:59 -0700
commitc89426b1f238e3ad79444ac311cd9d11fd86ac5f (patch)
tree68b050a6f59a21c82903eed91105fc1091e4df9a /security/nmap-devel/files/patch-nmap.cc
parentsecurity/nmap: Use internal pcre (diff)
security/nmap-devel: New port
Introduce nmap development port. The development branch includes prerequisite updates including the pcre2 replacement of pcre. This port tracks the nmap/nmap github repo.
Diffstat (limited to 'security/nmap-devel/files/patch-nmap.cc')
-rw-r--r--security/nmap-devel/files/patch-nmap.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/nmap-devel/files/patch-nmap.cc b/security/nmap-devel/files/patch-nmap.cc
new file mode 100644
index 000000000000..e73b24a585fc
--- /dev/null
+++ b/security/nmap-devel/files/patch-nmap.cc
@@ -0,0 +1,10 @@
+--- nmap.cc.orig 2020-10-02 16:12:22 UTC
++++ nmap.cc
+@@ -69,6 +69,7 @@
+ #include <shlobj.h>
+ #endif
+
++#include <getopt.h>
+ #include "nmap.h"
+ #include "osscan.h"
+ #include "scan_engine.h"