Unbreak on sparc64, where <machine/intr.h> can't be included from userland

ok benoit@ (maintainer)
This commit is contained in:
jca 2019-05-13 17:15:40 +00:00
parent 5154535cdd
commit cf1513c7a3
2 changed files with 15 additions and 2 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.23 2019/03/09 18:02:35 sebastia Exp $
# $OpenBSD: Makefile,v 1.24 2019/05/13 17:15:40 jca Exp $
COMMENT= 802.11 WEP and WPA-PSK keys cracking program
DISTNAME= aircrack-ng-1.5.2
REVISION= 0
REVISION= 1
CATEGORIES= security
HOMEPAGE= https://www.aircrack-ng.org/

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_aircrack-osdep_openbsd_c,v 1.1 2019/05/13 17:15:40 jca Exp $
Index: src/aircrack-osdep/openbsd.c
--- src/aircrack-osdep/openbsd.c.orig
+++ src/aircrack-osdep/openbsd.c
@@ -37,7 +37,6 @@
#include <net80211/ieee80211_crypto.h>
#include <frame.h>
#include <sys/timeout.h>
-#include <machine/intr.h>
#undef _KERNEL
#include <net80211/ieee80211_node.h>
#include <net80211/ieee80211_ioctl.h>