From 0b7eb1e747ba9bd4c7bda2d2254d01af96add46f Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 12 Mar 2009 08:14:16 +0000 Subject: Make it build on DragonFly. --- net/dhcpcd/distinfo | 3 ++- net/dhcpcd/patches/patch-aa | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 net/dhcpcd/patches/patch-aa (limited to 'net') diff --git a/net/dhcpcd/distinfo b/net/dhcpcd/distinfo index 57471532788..b489c279e9e 100644 --- a/net/dhcpcd/distinfo +++ b/net/dhcpcd/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/03/05 23:23:26 roy Exp $ +$NetBSD: distinfo,v 1.2 2009/03/12 08:14:16 hasso Exp $ SHA1 (dhcpcd-4.99.14.tar.bz2) = fb0ae1c1fc2992c9e85fdb2e131fce6d681b3889 RMD160 (dhcpcd-4.99.14.tar.bz2) = ce27e48bedf407912d89b8b6032be8ac40d164ea Size (dhcpcd-4.99.14.tar.bz2) = 60295 bytes +SHA1 (patch-aa) = eb52db8df9642ba49ed3dfce0d1d42d0e77fdf6a diff --git a/net/dhcpcd/patches/patch-aa b/net/dhcpcd/patches/patch-aa new file mode 100644 index 00000000000..2fd703f591c --- /dev/null +++ b/net/dhcpcd/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1 2009/03/12 08:14:16 hasso Exp $ + +--- if-bsd.c.orig 2009-03-12 09:54:44 +0200 ++++ if-bsd.c 2009-03-12 09:55:31 +0200 +@@ -38,7 +38,11 @@ + #include + #include + #include ++#ifdef __DragonFly__ ++#include ++#else + #include ++#endif + + #include + #include -- cgit v1.2.3