summaryrefslogtreecommitdiff
path: root/security/nmap/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'security/nmap/files/patch-ac')
-rw-r--r--security/nmap/files/patch-ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/nmap/files/patch-ac b/security/nmap/files/patch-ac
new file mode 100644
index 000000000000..df3c849ceb82
--- /dev/null
+++ b/security/nmap/files/patch-ac
@@ -0,0 +1,21 @@
+--- nmapfe/nmapfe_sig.c.orig Fri May 7 04:51:52 1999
++++ nmapfe/nmapfe_sig.c Fri Jul 23 11:09:45 1999
+@@ -171,7 +171,7 @@
+ on_Get_Nmap_Version_activate (GtkMenuItem *menuitem,
+ gpointer user_data)
+ {
+- execute("nmap -V");
++ execute( NMAP_PATH "nmap -V");
+ }
+
+
+@@ -296,7 +296,8 @@
+ if (size > command_size)
+ command = realloc(command, size);
+
+- strcpy(command, "nmap ");
++ strcpy(command, NMAP_PATH);
++ strcat(command, "nmap ");
+ /*Uhm... yeah.. Spit out which scan to perform based
+ on the which_scan variable */
+