net/wireguard-kmod: Fix typing mistake in FreeBSD version
Submitted by: Michael Butler <imb@protected-networks.net>
This commit is contained in:
parent
1dd1cc8f5f
commit
7ba61726af
2 changed files with 15 additions and 0 deletions
|
@ -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}
|
||||
|
|
14
net/wireguard-kmod/files/patch-compat.h
Normal file
14
net/wireguard-kmod/files/patch-compat.h
Normal 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
|
Loading…
Reference in a new issue