summaryrefslogtreecommitdiff
path: root/package/nmap/patches/patch-output_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/nmap/patches/patch-output_h')
-rw-r--r--package/nmap/patches/patch-output_h22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/nmap/patches/patch-output_h b/package/nmap/patches/patch-output_h
new file mode 100644
index 000000000..8dd3e4651
--- /dev/null
+++ b/package/nmap/patches/patch-output_h
@@ -0,0 +1,22 @@
+--- nmap-6.25.orig/output.h 2012-08-14 18:36:25.000000000 +0200
++++ nmap-6.25/output.h 2013-07-12 14:06:07.000000000 +0200
+@@ -226,6 +226,10 @@ std::string protect_xml(const std::strin
+ void printscriptresults(ScriptResults *scriptResults, stype scantype);
+
+ void printhostscriptresults(Target *currenths);
++
++/*This is a helper function to determine the ordering of the script results
++ based on their id */
++bool comparescriptids(ScriptResult first, ScriptResult second);
+ #endif
+
+ /* Print a table with traceroute hops. */
+@@ -253,8 +257,4 @@ void printfinaloutput();
+ were found. */
+ void printdatafilepaths();
+
+-/*This is a helper function to determine the ordering of the script results
+- based on their id */
+-bool comparescriptids(ScriptResult first, ScriptResult second);
+-
+ #endif /* OUTPUT_H */