mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Unbreak on CURRENT
PR: ports/126489 Submitted by: "Dima Panov" <fluffy (AT) fluffy.khv.ru> Approved by: Peter Hofer <ph (AT) desktopbsd.net> (maintainer)
This commit is contained in:
parent
e0179e8e51
commit
05916d799f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219773
@ -46,10 +46,6 @@ RUN_DEPENDS+= csup:${PORTSDIR}/net/csup
|
||||
RUN_DEPENDS+= portsnap:${PORTSDIR}/ports-mgmt/portsnap
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 800000
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
"/Installation/d; /Documentation/d; /InitialConf/d" \
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- libdesktopbsd/netinterface.cpp.orig 2007-07-29 09:36:00.000000000 +1100
|
||||
+++ libdesktopbsd/netinterface.cpp 2008-07-04 17:00:31.000000000 +1100
|
||||
@@ -22,6 +22,9 @@
|
||||
#include <ifaddrs.h>
|
||||
#include <net/route.h>
|
||||
#include <net/if.h>
|
||||
+#if defined(__FreeBSD_version) && __FreeBSD_version >= 800038
|
||||
+#include <net80211/_ieee80211.h>
|
||||
+#endif
|
||||
#include <net80211/ieee80211.h>
|
||||
#include <net80211/ieee80211_crypto.h>
|
||||
#include <net80211/ieee80211_ioctl.h>
|
@ -0,0 +1,21 @@
|
||||
--- libdesktopbsd/wirelessinterface.cpp.orig 2007-09-02 21:21:11.000000000 +1100
|
||||
+++ libdesktopbsd/wirelessinterface.cpp 2008-07-04 17:02:25.000000000 +1100
|
||||
@@ -76,6 +76,8 @@
|
||||
|
||||
#include "wirelessinterface.h"
|
||||
|
||||
+#include <sys/param.h> /* __FreeBSD_version */
|
||||
+
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if_dl.h>
|
||||
#include <net/if_types.h>
|
||||
@@ -86,6 +88,9 @@
|
||||
#include <ifaddrs.h>
|
||||
#include <net/route.h>
|
||||
#include <net/if.h>
|
||||
+#if defined(__FreeBSD_version) && __FreeBSD_version >= 800038
|
||||
+#include <net80211/_ieee80211.h>
|
||||
+#endif
|
||||
#include <net80211/ieee80211.h>
|
||||
#include <net80211/ieee80211_crypto.h>
|
||||
#include <net80211/ieee80211_ioctl.h>
|
Loading…
Reference in New Issue
Block a user