diff options
author | joerg <joerg> | 2006-03-23 17:20:22 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-03-23 17:20:22 +0000 |
commit | e8d320db9c953d2892a02d272ff73942d9edeee8 (patch) | |
tree | 36ebff05f7c41900a612cb0ff037690ceb888d4b /net/wistumbler/patches | |
parent | 524de2a31d68069700c401548006d0c4b6ee91d1 (diff) | |
download | pkgsrc-e8d320db9c953d2892a02d272ff73942d9edeee8.tar.gz |
DragonFly support.
Diffstat (limited to 'net/wistumbler/patches')
-rw-r--r-- | net/wistumbler/patches/patch-ab | 13 | ||||
-rw-r--r-- | net/wistumbler/patches/patch-ac | 16 |
2 files changed, 22 insertions, 7 deletions
diff --git a/net/wistumbler/patches/patch-ab b/net/wistumbler/patches/patch-ab index e063a331fd1..2b8d0295b8c 100644 --- a/net/wistumbler/patches/patch-ab +++ b/net/wistumbler/patches/patch-ab @@ -1,16 +1,21 @@ -$NetBSD: patch-ab,v 1.1 2004/03/25 20:29:36 markd Exp $ +$NetBSD: patch-ab,v 1.2 2006/03/23 17:20:22 joerg Exp $ ---- stumbler.c.orig 2004-03-25 00:43:07.000000000 +1200 +--- stumbler.c.orig 2002-08-16 14:27:13.000000000 +0000 +++ stumbler.c -@@ -40,7 +40,11 @@ +@@ -40,8 +40,16 @@ #include <net/if.h> #include <netinet/in.h> #include <netinet/if_ether.h> +#if defined(__NetBSD__) && (__NetBSD_Version__ >= 106250000) +#include <net80211/ieee80211.h> ++#include <dev/ic/wi_ieee.h> ++#elif defined(__DragonFly__) ++#include <netproto/802_11/ieee80211.h> ++#include <netproto/802_11/if_wavelan_ieee.h> +#else #include <net/if_ieee80211.h> -+#endif #include <dev/ic/wi_ieee.h> ++#endif #include <stdio.h> #include <string.h> + #include <ctype.h> diff --git a/net/wistumbler/patches/patch-ac b/net/wistumbler/patches/patch-ac index df78575176b..c58bcb67ffb 100644 --- a/net/wistumbler/patches/patch-ac +++ b/net/wistumbler/patches/patch-ac @@ -1,8 +1,18 @@ -$NetBSD: patch-ac,v 1.1 2004/03/25 20:29:36 markd Exp $ +$NetBSD: patch-ac,v 1.2 2006/03/23 17:20:22 joerg Exp $ ---- wicontrol.c.orig 2004-03-25 00:42:00.000000000 +1200 +--- wicontrol.c.orig 2002-08-11 14:18:51.000000000 +0000 +++ wicontrol.c -@@ -59,7 +59,11 @@ +@@ -55,11 +55,21 @@ + #include <net/ethernet.h> + + #include <machine/if_wavelan_ieee.h> ++#elif defined(__DragonFly__) ++#include <net/if_var.h> ++#include <net/ethernet.h> ++ ++#include <netproto/802_11/ieee80211.h> ++#include <netproto/802_11/if_wavelan_ieee.h> + #else #include <netinet/in.h> #include <netinet/if_ether.h> #ifdef __NetBSD__ |