From 0b75aeebd533868bc34b1bdb59c70428dbd15422 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 15 Mar 2004 08:35:43 +0000 Subject: Patch aclocal.m4 so that it includes the header before testing for sys_nerr, so that this compiles on NetBSD. Add a patch for the re-generated configure script. Fixes a problem noticed in recent bulk builds. --- net/cmu-dhcpd/distinfo | 4 +++- net/cmu-dhcpd/patches/patch-ab | 12 ++++++++++++ net/cmu-dhcpd/patches/patch-ac | 12 ++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 net/cmu-dhcpd/patches/patch-ab create mode 100644 net/cmu-dhcpd/patches/patch-ac (limited to 'net') diff --git a/net/cmu-dhcpd/distinfo b/net/cmu-dhcpd/distinfo index 73d4c1bce93..53944b46ed6 100644 --- a/net/cmu-dhcpd/distinfo +++ b/net/cmu-dhcpd/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/10/18 22:06:01 abs Exp $ +$NetBSD: distinfo,v 1.2 2004/03/15 08:35:43 agc Exp $ SHA1 (CMU-dhcp-3.3.7+PU-9.tar.Z) = 9c7eb8f498eddd35d0eb9ceaa90451f06bb5cf27 Size (CMU-dhcp-3.3.7+PU-9.tar.Z) = 752011 bytes SHA1 (patch-aa) = bbedb6f3c01d6459f5e0623e8e165ecef6d09374 +SHA1 (patch-ab) = 94a2fa4094d8a494db3188dc1a415ed5eb2642bb +SHA1 (patch-ac) = 0729cc8ff71b57fba0975b802ed4cbcfaeb78a5b diff --git a/net/cmu-dhcpd/patches/patch-ab b/net/cmu-dhcpd/patches/patch-ab new file mode 100644 index 00000000000..37131135511 --- /dev/null +++ b/net/cmu-dhcpd/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2004/03/15 08:35:43 agc Exp $ + +--- aclocal.m4 2004/03/15 08:07:48 1.1 ++++ aclocal.m4 2004/03/15 08:10:11 +@@ -229,6 +229,7 @@ + [AC_TRY_COMPILE([ + #include "confdefs.h" /* the header built by configure so far */ + #include ++#include + #ifdef HAVE_STDLIB_H + #include + #endif diff --git a/net/cmu-dhcpd/patches/patch-ac b/net/cmu-dhcpd/patches/patch-ac new file mode 100644 index 00000000000..7028103477c --- /dev/null +++ b/net/cmu-dhcpd/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1 2004/03/15 08:35:43 agc Exp $ + +--- configure 2004/03/15 08:32:08 1.1 ++++ configure 2004/03/15 08:32:16 +@@ -2070,6 +2070,7 @@ + + #include "confdefs.h" /* the header built by configure so far */ + #include ++#include + #ifdef HAVE_STDLIB_H + #include + #endif -- cgit v1.2.3