diff --git a/net/wireguard-kmod/Makefile b/net/wireguard-kmod/Makefile index 4e44828fe968..131a1e20a673 100644 --- a/net/wireguard-kmod/Makefile +++ b/net/wireguard-kmod/Makefile @@ -1,19 +1,20 @@ PORTNAME= wireguard-kmod PORTVERSION= 0.0.20220610 +PORTREVISION= 1 CATEGORIES= net net-vpn MASTER_SITES= https://git.zx2c4.com/wireguard-freebsd/snapshot/ DISTNAME= wireguard-freebsd-${PORTVERSION} MAINTAINER= decke@FreeBSD.org COMMENT= WireGuard implementation for the FreeBSD kernel LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../COPYING USES= kmod tar:xz uidfix WRKSRC_SUBDIR= src PLIST_FILES= ${KMODDIR}/if_wg.ko .include diff --git a/net/wireguard-kmod/files/patch-compat.h b/net/wireguard-kmod/files/patch-compat.h new file mode 100644 index 000000000000..568f5c28ad0a --- /dev/null +++ b/net/wireguard-kmod/files/patch-compat.h @@ -0,0 +1,14 @@ +Fix typing mistake in FreeBSD version + +Submitted by: Michael Butler +--- compat.h.orig 2022-06-10 17:21:17 UTC ++++ compat.h +@@ -8,7 +8,7 @@ + + #include + +-#if __FreeBSD_version < 1400517 ++#if __FreeBSD_version < 1400057 + #include + #define sbcreatecontrol(a, b, c, d, e) sbcreatecontrol(a, b, c, d) + #endif