summaryrefslogtreecommitdiff
path: root/net/dante/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/dante/patches')
-rw-r--r--net/dante/patches/patch-aa18
-rw-r--r--net/dante/patches/patch-ab30
2 files changed, 39 insertions, 9 deletions
diff --git a/net/dante/patches/patch-aa b/net/dante/patches/patch-aa
index d149d15667f..6dc2d331895 100644
--- a/net/dante/patches/patch-aa
+++ b/net/dante/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.2 2002/07/12 14:47:04 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2005/04/04 10:00:54 adam Exp $
---- capi/Makefile.in.orig Mon Jun 24 10:52:57 2002
+--- capi/Makefile.in.orig 2005-01-24 10:26:23.000000000 +0000
+++ capi/Makefile.in
-@@ -31,7 +31,7 @@
- libdir = @libdir@
- infodir = @infodir@
- mandir = @mandir@
+@@ -168,7 +168,7 @@ host_alias = @host_alias@
+ host_cpu = @host_cpu@
+ host_os = @host_os@
+ host_vendor = @host_vendor@
-includedir = @includedir@
+includedir = @includedir@/dante
- oldincludedir = /usr/include
- pkgdatadir = $(datadir)/@PACKAGE@
- pkglibdir = $(libdir)/@PACKAGE@
+ infodir = @infodir@
+ install_sh = @install_sh@
+ libdir = @libdir@
diff --git a/net/dante/patches/patch-ab b/net/dante/patches/patch-ab
new file mode 100644
index 00000000000..d9364c75b29
--- /dev/null
+++ b/net/dante/patches/patch-ab
@@ -0,0 +1,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