summaryrefslogtreecommitdiff
path: root/package/nmap/patches/patch-service_scan_cc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-05 12:06:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-05 12:06:12 +0200
commit0508d641f6c6613cf5c4e4a70e564ce7ea44b1dc (patch)
treec73156c58366e495317a1a2acceb9c2efcf7d2db /package/nmap/patches/patch-service_scan_cc
parentcd459cb9dc51e6f2cace0b4b994b563f640a25f6 (diff)
fix nmap compile, update to latest upstream. uclibc++ no longer supported, because of missing dynamic_cast operator
Diffstat (limited to 'package/nmap/patches/patch-service_scan_cc')
-rw-r--r--package/nmap/patches/patch-service_scan_cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/nmap/patches/patch-service_scan_cc b/package/nmap/patches/patch-service_scan_cc
new file mode 100644
index 000000000..39a91a8c8
--- /dev/null
+++ b/package/nmap/patches/patch-service_scan_cc
@@ -0,0 +1,11 @@
+--- nmap-6.40.orig/service_scan.cc 2013-07-29 00:08:48.000000000 +0200
++++ nmap-6.40/service_scan.cc 2013-10-05 11:24:37.000000000 +0200
+@@ -1202,7 +1202,7 @@ bool ServiceProbe::portIsProbable(enum s
+
+ portv = (tunnel == SERVICE_TUNNEL_SSL)? &probablesslports : &probableports;
+
+- if (find(portv->begin(), portv->end(), portno) == portv->end())
++ if (std::find(portv->begin(), portv->end(), portno) == portv->end())
+ return false;
+ return true;
+ }