summaryrefslogtreecommitdiff
path: root/net/wistumbler
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2004-03-25 20:29:36 +0000
committermarkd <markd@pkgsrc.org>2004-03-25 20:29:36 +0000
commit45eb3d4ef47e63597aba5974f8faacb5d1972933 (patch)
tree3feb7b13ca577372ccf063eead69e431b31aacae /net/wistumbler
parent2c74b4038102203d0f798bc09919e53c6913e41a (diff)
downloadpkgsrc-45eb3d4ef47e63597aba5974f8faacb5d1972933.tar.gz
The location of the 802.11 header files moved at approx 1.6Y, allow for
this. Fixes build on -current.
Diffstat (limited to 'net/wistumbler')
-rw-r--r--net/wistumbler/distinfo4
-rw-r--r--net/wistumbler/patches/patch-ab16
-rw-r--r--net/wistumbler/patches/patch-ac16
3 files changed, 35 insertions, 1 deletions
diff --git a/net/wistumbler/distinfo b/net/wistumbler/distinfo
index 9dfd337a569..2d8d27d76c7 100644
--- a/net/wistumbler/distinfo
+++ b/net/wistumbler/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.7 2003/08/18 05:37:49 itojun Exp $
+$NetBSD: distinfo,v 1.8 2004/03/25 20:29:36 markd Exp $
SHA1 (wistumbler-20020816.tar.gz) = fe980cdd4934dbb70411e4ce0394adef56e21999
Size (wistumbler-20020816.tar.gz) = 9327 bytes
SHA1 (patch-aa) = 662f467fbf9f51c83843f88ec4d854fb19fd2a43
+SHA1 (patch-ab) = 3bb5345822142204b9d15dd7b9d3d6672ea8169e
+SHA1 (patch-ac) = d8fc05d67e57d9c650e8141a42181aef55b4ed33
diff --git a/net/wistumbler/patches/patch-ab b/net/wistumbler/patches/patch-ab
new file mode 100644
index 00000000000..e063a331fd1
--- /dev/null
+++ b/net/wistumbler/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2004/03/25 20:29:36 markd Exp $
+
+--- stumbler.c.orig 2004-03-25 00:43:07.000000000 +1200
++++ stumbler.c
+@@ -40,7 +40,11 @@
+ #include <net/if.h>
+ #include <netinet/in.h>
+ #include <netinet/if_ether.h>
++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 106250000)
++#include <net80211/ieee80211.h>
++#else
+ #include <net/if_ieee80211.h>
++#endif
+ #include <dev/ic/wi_ieee.h>
+ #include <stdio.h>
+ #include <string.h>
diff --git a/net/wistumbler/patches/patch-ac b/net/wistumbler/patches/patch-ac
new file mode 100644
index 00000000000..df78575176b
--- /dev/null
+++ b/net/wistumbler/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2004/03/25 20:29:36 markd Exp $
+
+--- wicontrol.c.orig 2004-03-25 00:42:00.000000000 +1200
++++ wicontrol.c
+@@ -59,7 +59,11 @@
+ #include <netinet/in.h>
+ #include <netinet/if_ether.h>
+ #ifdef __NetBSD__
++#if __NetBSD_Version__ >= 106250000
++#include <net80211/ieee80211.h>
++#else
+ #include <net/if_ieee80211.h>
++#endif
+ #include <dev/ic/wi_ieee.h>
+ #else
+ #include <dev/pcmcia/if_wavelan_ieee.h>