openbsd-ports/net/kismet/patches/patch-packetsource_pcap_cc
sebastia ab9f231262 Update the ancient version to the more recent 2016-07-R1, tested on
i386 and amd64 with a couple of different wifi adapters by myself
and kili@ test on amd64.

lots of things changed, gpsmap GUI is gone. security model changed,
see MESSAGE. Take over MAINTAINER from kili@

OK kili@
2019-03-03 23:11:04 +00:00

17 lines
430 B
Plaintext

$OpenBSD: patch-packetsource_pcap_cc,v 1.1 2019/03/03 23:11:04 sebastia Exp $
Index: packetsource_pcap.cc
--- packetsource_pcap.cc.orig
+++ packetsource_pcap.cc
@@ -60,6 +60,10 @@ extern "C" {
#include <netinet/if_ether.h>
#include <dev/ic/if_wi_ieee.h>
+#ifndef IEEE80211_CHAN_TURBO
+#define IEEE80211_CHAN_TURBO 0x0010
+#endif
+
#ifdef HAVE_RADIOTAP
#include <net80211/ieee80211.h>
#include <net80211/ieee80211_ioctl.h>