From 953dca9aee03b07657417e5312173293599d1f9a Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Tue, 25 Jan 2005 14:38:20 +0000 Subject: Added patch for conflict with linux-headers - bug #71657 (Portage version: 2.0.51-r14) --- net-analyzer/nessus-libraries/files/linux26.patch | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 net-analyzer/nessus-libraries/files/linux26.patch (limited to 'net-analyzer/nessus-libraries/files') diff --git a/net-analyzer/nessus-libraries/files/linux26.patch b/net-analyzer/nessus-libraries/files/linux26.patch new file mode 100644 index 000000000000..295e60aa5f04 --- /dev/null +++ b/net-analyzer/nessus-libraries/files/linux26.patch @@ -0,0 +1,36 @@ +--- nessus-libraries/libnessus/scanners_utils.c~ 2004-12-18 21:11:06.320320160 +0100 ++++ nessus-libraries/libnessus/scanners_utils.c 2004-12-18 21:11:06.319320312 +0100 +@@ -28,11 +28,11 @@ + */ + ExtFunc + int +-comm_send_status(globals, hostname, action, current,max) ++comm_send_status(globals, hostname, action, current_nessus,max) + struct arglist * globals; + char * hostname; + char * action; +- int current, max; ++ int current_nessus, max; + { + struct arglist * prefs = arg_get_value(globals,"preferences"); + char * pref = arg_get_value(prefs, "ntp_short_status"); +@@ -61,16 +61,16 @@ + { + if(short_status) + { +- snprintf(buffer, sizeof(buffer), "s:%c:%s:%d:%d\n", action[0], hostname, current, max); ++ snprintf(buffer, sizeof(buffer), "s:%c:%s:%d:%d\n", action[0], hostname, current_nessus, max); + } + else + snprintf(buffer, sizeof(buffer), + "SERVER <|> STATUS <|> %s <|> %s <|> %d/%d <|> SERVER\n", +- hostname, action, current, max); ++ hostname, action, current_nessus, max); + } + else + snprintf(buffer, sizeof(buffer), "SERVER <|> STAT <|> %s <|> %d/%d <|> SERVER\n", +- hostname, current, max); ++ hostname, current_nessus, max); + + + internal_send(soc, buffer, INTERNAL_COMM_MSG_TYPE_DATA); -- cgit v1.2.3-65-gdbad