aboutsummaryrefslogtreecommitdiff
path: root/security/doscan/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-04 10:35:17 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-04 10:35:17 +0000
commitc3c73307672b779d83de42424e18bde0cdc84b7f (patch)
tree95251d814d48d93d0d04d3b25de12cc1804fca76 /security/doscan/files
parent58ee0ed1cb4abae60bbc6ac810c2df39ceec6521 (diff)
downloadports-c3c73307672b779d83de42424e18bde0cdc84b7f.tar.gz
ports-c3c73307672b779d83de42424e18bde0cdc84b7f.zip
- Update to version 0.2.3
PR: 58916 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=93052
Diffstat (limited to 'security/doscan/files')
-rw-r--r--security/doscan/files/patch-src::results.cc11
-rw-r--r--security/doscan/files/patch-src::subnets.c10
2 files changed, 11 insertions, 10 deletions
diff --git a/security/doscan/files/patch-src::results.cc b/security/doscan/files/patch-src::results.cc
new file mode 100644
index 000000000000..fb965a5efa19
--- /dev/null
+++ b/security/doscan/files/patch-src::results.cc
@@ -0,0 +1,11 @@
+--- src/results.cc.orig Fri Oct 31 13:41:03 2003
++++ src/results.cc Tue Nov 4 09:29:05 2003
+@@ -392,7 +392,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
+
diff --git a/security/doscan/files/patch-src::subnets.c b/security/doscan/files/patch-src::subnets.c
deleted file mode 100644
index 59a4b80cac6d..000000000000
--- a/security/doscan/files/patch-src::subnets.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/subnets.c.orig Wed Sep 24 13:28:27 2003
-+++ src/subnets.c Wed Sep 24 13:29:59 2003
-@@ -37,7 +37,6 @@
-
- #include <stdio.h>
- #include <stdlib.h>
--#include <malloc.h>
-
- static ipv4_prefix_t *subnets = 0;
- /* list of subnets, terminated by the 0/0 prefix */