diff options
author | joerg <joerg@pkgsrc.org> | 2006-03-22 15:59:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-03-22 15:59:56 +0000 |
commit | e075251c7fd5b10fa607a034271dab457812f3b8 (patch) | |
tree | 654bdee0bfb956dc4021921a46dbb6d4fbdfbcc5 /net/dnsmasq/patches | |
parent | 2db15e8c1ba4b4053b7b45e7b2ac2e3fe4a2e9d4 (diff) | |
download | pkgsrc-e075251c7fd5b10fa607a034271dab457812f3b8.tar.gz |
Add DragonFly support.
Diffstat (limited to 'net/dnsmasq/patches')
-rw-r--r-- | net/dnsmasq/patches/patch-aa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/dnsmasq/patches/patch-aa b/net/dnsmasq/patches/patch-aa new file mode 100644 index 00000000000..1cd615860cb --- /dev/null +++ b/net/dnsmasq/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1 2006/03/22 15:59:56 joerg Exp $ + +--- src/config.h.orig 2006-03-22 15:55:31.000000000 +0000 ++++ src/config.h +@@ -32,7 +32,7 @@ + # define RESOLVFILE "/etc/resolv.conf" + #endif + #define RUNFILE "/var/run/dnsmasq.pid" +-#if defined(__FreeBSD__) || defined (__OpenBSD__) ++#if defined(__FreeBSD__) || defined (__OpenBSD__) || defined(__DragonFly__) + # define LEASEFILE "/var/db/dnsmasq.leases" + #else + # define LEASEFILE "/var/lib/misc/dnsmasq.leases" +@@ -276,7 +276,7 @@ typedef unsigned long in_addr_t; + #endif + #endif + +-#elif defined(__FreeBSD__) || defined(__OpenBSD__) ++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) + #undef HAVE_LINUX_IPV6_PROC + #undef HAVE_RTNETLINK + /* Later verions of FreeBSD have getopt_long() */ |