net/wireguard-kmod: Fix typing mistake in FreeBSD version

Submitted by:	Michael Butler <imb@protected-networks.net>
This commit is contained in:
Bernhard Froehlich 2022-06-11 18:27:29 +00:00
parent 1dd1cc8f5f
commit 7ba61726af
No known key found for this signature in database
GPG key ID: 4DD88C3F9F3B8333
2 changed files with 15 additions and 0 deletions

View file

@ -1,5 +1,6 @@
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}

View file

@ -0,0 +1,14 @@
Fix typing mistake in FreeBSD version
Submitted by: Michael Butler <imb@protected-networks.net>
--- compat.h.orig 2022-06-10 17:21:17 UTC
+++ compat.h
@@ -8,7 +8,7 @@
#include <sys/param.h>
-#if __FreeBSD_version < 1400517
+#if __FreeBSD_version < 1400057
#include <sys/sockbuf.h>
#define sbcreatecontrol(a, b, c, d, e) sbcreatecontrol(a, b, c, d)
#endif