summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-23 17:20:22 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-23 17:20:22 +0000
commit165f9ea744ec0cbf0d1709313f646dc3dba518e0 (patch)
tree36ebff05f7c41900a612cb0ff037690ceb888d4b
parentd822861e35b8770da69ab8f062efe7612f236e38 (diff)
downloadpkgsrc-165f9ea744ec0cbf0d1709313f646dc3dba518e0.tar.gz
DragonFly support.
-rw-r--r--net/wistumbler/distinfo6
-rw-r--r--net/wistumbler/patches/patch-ab13
-rw-r--r--net/wistumbler/patches/patch-ac16
3 files changed, 25 insertions, 10 deletions
diff --git a/net/wistumbler/distinfo b/net/wistumbler/distinfo
index f44192f4d62..f7a2b96b322 100644
--- a/net/wistumbler/distinfo
+++ b/net/wistumbler/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2005/02/24 12:14:07 agc Exp $
+$NetBSD: distinfo,v 1.10 2006/03/23 17:20:22 joerg Exp $
SHA1 (wistumbler-20020816.tar.gz) = fe980cdd4934dbb70411e4ce0394adef56e21999
RMD160 (wistumbler-20020816.tar.gz) = df6744ac26dc498063834da5475a70ecc0f34ab2
Size (wistumbler-20020816.tar.gz) = 9327 bytes
SHA1 (patch-aa) = 662f467fbf9f51c83843f88ec4d854fb19fd2a43
-SHA1 (patch-ab) = 3bb5345822142204b9d15dd7b9d3d6672ea8169e
-SHA1 (patch-ac) = d8fc05d67e57d9c650e8141a42181aef55b4ed33
+SHA1 (patch-ab) = f2ebb7a7bb0b23aa917bd5134e1249084b5317b3
+SHA1 (patch-ac) = 901ddc023805973beb2ea2086487b91b8de1f769
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__