aboutsummaryrefslogtreecommitdiffstats
path: root/security/doscan/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-04 18:35:17 +0800
committerkrion <krion@FreeBSD.org>2003-11-04 18:35:17 +0800
commitd19d7800d77cd8742baa5952be188730cd18b747 (patch)
treebfbd00313967c78115f271d1bf71d1b361eb6230 /security/doscan/files
parent0b4950bb5ffc9ac9f79285cef802027386d85a62 (diff)
downloadfreebsd-ports-gnome-d19d7800d77cd8742baa5952be188730cd18b747.tar.gz
freebsd-ports-gnome-d19d7800d77cd8742baa5952be188730cd18b747.tar.zst
freebsd-ports-gnome-d19d7800d77cd8742baa5952be188730cd18b747.zip
- Update to version 0.2.3
PR: 58916 Submitted by: maintainer
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 */