git: 7ba61726af7c - main - net/wireguard-kmod: Fix typing mistake in FreeBSD version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Jun 2022 18:28:16 UTC
The branch main has been updated by decke:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7ba61726af7c05faf63b04279084f95d1937e27e
commit 7ba61726af7c05faf63b04279084f95d1937e27e
Author: Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2022-06-11 18:27:29 +0000
Commit: Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2022-06-11 18:27:29 +0000
net/wireguard-kmod: Fix typing mistake in FreeBSD version
Submitted by: Michael Butler <imb@protected-networks.net>
---
net/wireguard-kmod/Makefile | 1 +
net/wireguard-kmod/files/patch-compat.h | 14 ++++++++++++++
2 files changed, 15 insertions(+)
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,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}
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 <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