summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-01 22:42:16 +0800
committerGitHub <[email protected]>2024-04-01 22:42:16 +0800
commitd1ee61015c30cd08455b8d9bf85970b4ecaa079a (patch)
tree922adbafbc3c024c17d42b7a166fd7200e5887f1
parent294c31f0d558eb23f60309d4fb1793372de8073c (diff)
parent836e4eb1116d23cc06cf0c9a7981f0e2636af1f9 (diff)
Merge pull request #4916 from SirLynix/patch-14
fix patches checksum not being checked
-rw-r--r--xmake/modules/private/action/require/impl/actions/patch_sources.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/actions/patch_sources.lua b/xmake/modules/private/action/require/impl/actions/patch_sources.lua
index 49f4363cb..a960d1bcb 100644
--- a/xmake/modules/private/action/require/impl/actions/patch_sources.lua
+++ b/xmake/modules/private/action/require/impl/actions/patch_sources.lua
@@ -51,7 +51,7 @@ end
-- do patch
function _patch(package, patchinfo)
local patch_url = patchinfo.url
- local patch_hash = patchinfo.hash
+ local patch_hash = patchinfo.sha256
local patch_extra = patchinfo.extra or {}
-- trace