aboutsummaryrefslogtreecommitdiff
path: root/security/doscan/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-23 16:40:57 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-23 16:40:57 +0000
commit490282cb9d97cdfc4ce59a64623c3c82aab8496a (patch)
tree1a470b8b9700c47f1a0c0a5e9e2ed66f32cbabc4 /security/doscan/files
parenta856d49c1901463ec2afbacd8f82f61d1ff00769 (diff)
Notes
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
+