summaryrefslogtreecommitdiff
path: root/security/doscan/files/freebsd4.diff
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/freebsd4.diff
parentAdd sn 0.3.6, (diff)
- Update to version 0.2.6
- Fix build on 4.x PR: ports/63269 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=101876
Diffstat (limited to 'security/doscan/files/freebsd4.diff')
-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
+