summaryrefslogtreecommitdiff
path: root/net/dante/patches/patch-ab
blob: d9364c75b29bc2128c15ada5f997a0500fb0b9f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ab,v 1.5 2005/04/04 10:00:54 adam Exp $

--- configure.orig	2005-01-24 10:12:25.000000000 +0000
+++ configure
@@ -19858,7 +19858,6 @@ else
 echo "${ECHO_T}no" >&6
     #autoconf_compflags is set to "-g -O2" with GCC
     #override CFLAGS when running configure to avoid this
-    CFLAGS="$CFLAGS $autoconf_compflags"
 fi
 
 #-Wall ?
@@ -25304,7 +25303,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 #include <unistd.h>
 
 struct hostent *
-gethostbyaddr( const char *, int, int
+gethostbyaddr( const char *, socklen_t, int
 );
 int
 main ()
@@ -25346,7 +25345,7 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_PROT_GETHOSTBYADDR_2 int
+#define HAVE_PROT_GETHOSTBYADDR_2 socklen_t
 _ACEOF
 
 cat >>confdefs.h <<_ACEOF