pkgsrc/net/wistumbler2/patches/patch-ac
obache 2d6e78f0e4 Fixes patch for DragonFly BSD for if_wavelan_ieee.h's path.
PR#44321 by Sascha Wildner.

Still broken for 2.8.2, because `struct wi_req' is disabled in
the include file, but it was changed in DragonFly master.
2011-01-03 07:38:57 +00:00

15 lines
466 B
Text

$NetBSD: patch-ac,v 1.4 2011/01/03 07:38:59 obache Exp $
--- src/stumbler.h.orig 2006-01-08 21:09:38.000000000 +0000
+++ src/stumbler.h
@@ -54,6 +54,10 @@
#include <net80211/ieee80211.h>
#include <net/ethernet.h>
#include <dev/wi/if_wavelan_ieee.h>
+#elif defined(__DragonFly__)
+#include <netproto/802_11/ieee80211.h>
+#include <net/ethernet.h>
+#include <dev/netif/wi/if_wavelan_ieee.h>
#elif defined(__OpenBSD__)
#include "cdefs.h"
#include <sys/socket.h>