mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
net/realrek-re-kmod198: fix build on FreeBSD 15
Apply 4ca9ea9d40
to this port.
This commit is contained in:
parent
5d6e5e0366
commit
758a6b2786
2 changed files with 16 additions and 0 deletions
|
@ -18,6 +18,12 @@ GH_ACCOUNT= alexdupre
|
||||||
GH_PROJECT= rtl_bsd_drv
|
GH_PROJECT= rtl_bsd_drv
|
||||||
GH_TAGNAME= d3a7a3d
|
GH_TAGNAME= d3a7a3d
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500000)
|
||||||
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-if__re.c
|
||||||
|
.endif
|
||||||
|
|
||||||
PLIST_FILES= ${KMODDIR}/if_re.ko
|
PLIST_FILES= ${KMODDIR}/if_re.ko
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
10
net/realtek-re-kmod198/files/extra-patch-if__re.c
Normal file
10
net/realtek-re-kmod198/files/extra-patch-if__re.c
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- if_re.c.orig 2024-06-04 09:39:04 UTC
|
||||||
|
+++ if_re.c
|
||||||
|
@@ -67,6 +67,7 @@ __FBSDID("$FreeBSD: src/sys/dev/re/if_re.c,v " RE_VERS
|
||||||
|
|
||||||
|
#include <net/if.h>
|
||||||
|
#include <net/if_var.h>
|
||||||
|
+#include <net/if_private.h>
|
||||||
|
#include <net/if_arp.h>
|
||||||
|
#include <net/ethernet.h>
|
||||||
|
#include <net/if_dl.h>
|
Loading…
Add table
Reference in a new issue