aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2002-01-20 05:43:26 +0800
committerJimmy Olgeni <olgeni@FreeBSD.org>2002-01-20 05:43:26 +0800
commit5f4f437c9454633ff1f231ca4b2168eb0642e2d5 (patch)
tree9b63d068e7864787378fddb2e0ed56629d088d07 /security
parentfda870ff76ffc48be20e6b7ac80b589f24ae947e (diff)
downloadfreebsd-ports-5f4f437c9454633ff1f231ca4b2168eb0642e2d5.tar.gz
freebsd-ports-5f4f437c9454633ff1f231ca4b2168eb0642e2d5.tar.zst
freebsd-ports-5f4f437c9454633ff1f231ca4b2168eb0642e2d5.zip
Fix compilation: do not redefine the strcasestr function.
PR: 33999 Submitted by: Miguel Mendez <flynn@eneryhq.homeip.net>
Notes
Notes: svn path=/head/; revision=53361
Diffstat (limited to 'security')
-rw-r--r--security/nessus/files/patch-nessus-html_graph_output.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/security/nessus/files/patch-nessus-html_graph_output.c b/security/nessus/files/patch-nessus-html_graph_output.c
new file mode 100644
index 000000000000..a41cf642a092
--- /dev/null
+++ b/security/nessus/files/patch-nessus-html_graph_output.c
@@ -0,0 +1,31 @@
+--- nessus/html_graph_output.c.old Thu Jan 17 18:44:40 2002
++++ nessus/html_graph_output.c Thu Jan 17 18:47:20 2002
+@@ -65,8 +65,9 @@
+ #include "globals.h"
+ #include "nsr_output.h"
+
+-
++#ifndef __FreeBSD__
+ static char* strcasestr(char*, char *);
++#endif
+ static void insert_img(FILE *, char*);
+
+
+@@ -90,7 +91,8 @@
+ /*
+ * Handy functions
+ */
+-
++
++#ifndef __FreeBSD__
+ static char *
+ strcasestr(char * haystack, char * needle)
+ {
+@@ -109,6 +111,7 @@
+ }
+ return NULL;
+ }
++#endif
+
+ static void
+ insert_img(f, name)