diff --git a/xray-plugin/Makefile b/xray-plugin/Makefile index 47a92706dbe..e1776b28515 100644 --- a/xray-plugin/Makefile +++ b/xray-plugin/Makefile @@ -5,12 +5,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xray-plugin -PKG_VERSION:=1.8.7 +PKG_VERSION:=1.8.8 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/teddysun/xray-plugin/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=6ee5ed3a6bbecc41dba99a107849de00e2e72d99fdea4f9af8ea95783cb38528 +PKG_HASH:=bafef6d458337b85fc258d93592a437f691914e88753054515176ee6ea9844c0 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/xray-plugin/patches/0001-fix-go-1.21-build-error.patch b/xray-plugin/patches/0001-fix-go-1.21-build-error.patch new file mode 100644 index 00000000000..d214f008908 --- /dev/null +++ b/xray-plugin/patches/0001-fix-go-1.21-build-error.patch @@ -0,0 +1,24 @@ +From 45368856980e030ddd95221289304c33e2749aa6 Mon Sep 17 00:00:00 2001 +From: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com> +Date: Mon, 26 Feb 2024 15:45:35 +0000 +Subject: [PATCH] fix go 1.21 build error + +--- + go.mod | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/go.mod b/go.mod +index 71a9a02..077ac79 100644 +--- a/go.mod ++++ b/go.mod +@@ -1,6 +1,6 @@ + module github.com/teddysun/xray-plugin + +-go 1.22 ++go 1.21.5 + + require ( + github.com/xtls/xray-core v1.8.8 +-- +2.34.1 +