summaryrefslogtreecommitdiff
path: root/package/nmap/patches/patch-portlist_cc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-12 14:11:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-12 14:11:48 +0200
commitbdcb19554ef258df89b9c3ab2109b2acadd16866 (patch)
treee098fcc51e62513dde2ca53a266b9ed29dabb88d /package/nmap/patches/patch-portlist_cc
parentc1064830dab447f98f712cb09f408acb6f077d3d (diff)
update to latest stable version
Diffstat (limited to 'package/nmap/patches/patch-portlist_cc')
-rw-r--r--package/nmap/patches/patch-portlist_cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/nmap/patches/patch-portlist_cc b/package/nmap/patches/patch-portlist_cc
new file mode 100644
index 000000000..a974ca013
--- /dev/null
+++ b/package/nmap/patches/patch-portlist_cc
@@ -0,0 +1,18 @@
+--- nmap-6.25.orig/portlist.cc 2012-10-11 06:45:50.000000000 +0200
++++ nmap-6.25/portlist.cc 2013-07-12 14:10:04.000000000 +0200
+@@ -144,6 +144,7 @@ void Port::freeService(bool del_service)
+ }
+ }
+
++#ifndef NOLUA
+ void Port::freeScriptResults(void)
+ {
+ while (!scriptResults.empty()) {
+@@ -151,6 +152,7 @@ void Port::freeScriptResults(void)
+ scriptResults.pop_front();
+ }
+ }
++#endif
+
+ /* Fills in namebuf (as long as there is space in buflen) with the
+ Name nmap normal output will use to describe the port. This takes