summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-01-25 14:38:20 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-01-25 14:38:20 +0000
commit953dca9aee03b07657417e5312173293599d1f9a (patch)
treecfb811b3f1cd2a4d3170151e9300be18e3e107de /net-analyzer/nessus-libraries/files
parentFixed a typo in ROX_LIB_VER (Manifest recommit) (diff)
downloadgentoo-2-953dca9aee03b07657417e5312173293599d1f9a.tar.gz
gentoo-2-953dca9aee03b07657417e5312173293599d1f9a.tar.bz2
gentoo-2-953dca9aee03b07657417e5312173293599d1f9a.zip
Added patch for conflict with linux-headers - bug #71657
(Portage version: 2.0.51-r14)
Diffstat (limited to 'net-analyzer/nessus-libraries/files')
-rw-r--r--net-analyzer/nessus-libraries/files/linux26.patch36
1 files changed, 36 insertions, 0 deletions
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);