aboutsummaryrefslogtreecommitdiff
path: root/security/doscan/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/doscan/files')
-rw-r--r--security/doscan/files/freebsd4.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/doscan/files/freebsd4.diff b/security/doscan/files/freebsd4.diff
new file mode 100644
index 000000000000..cc89721cc173
--- /dev/null
+++ b/security/doscan/files/freebsd4.diff
@@ -0,0 +1,11 @@
+--- src/results.cc.orig Mon Feb 23 15:15:59 2004
++++ src/results.cc Mon Feb 23 15:30:54 2004
+@@ -427,7 +427,7 @@
+ #ifdef GETHOSTBYADDR_ACCEPTS_CHAR
+ he = gethostbyaddr (reinterpret_cast<char*>(&in), sizeof (in), AF_INET);
+ #else
+-#error Type of first argument to gethostbyaddr() is not known.
++ he = gethostbyaddr ((const char*)(&in), sizeof (in), AF_INET);
+ #endif
+ #endif
+