wireguard: update wireguard-linux-compat to v1.0.20200401 and drop version check patch

This commit is contained in:
chewitt 2020-04-13 03:29:49 +00:00
parent 677f569ce9
commit 17a7f58e17
2 changed files with 2 additions and 15 deletions

View File

@ -2,8 +2,8 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="wireguard-linux-compat"
PKG_VERSION="v1.0.20200330"
PKG_SHA256="eb39820e1898b268653178fc05a101e6ace25b00a6cc89f9cb03ef77cb1cc23e"
PKG_VERSION="v1.0.20200401"
PKG_SHA256="e80e6c6386217585640974106cf6f9a0a8a8fb91a4f75e943c0a39a204a3045f"
PKG_LICENSE="GPLv2"
PKG_SITE="https://www.wireguard.com"
PKG_URL="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-$PKG_VERSION.tar.xz"

View File

@ -1,13 +0,0 @@
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 1aa0e7b..751ace7 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -43,7 +43,7 @@
#error "WireGuard requires Linux >= 3.10"
#endif
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 7, 0)
#error "WireGuard has been merged into Linux >= 5.6 and therefore this compatibility module is no longer required."
#endif