summaryrefslogtreecommitdiff
path: root/package/nmap/patches/patch-portlist_cc
diff options
context:
space:
mode:
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