summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2024-04-01 14:28:40 +0200
committerGitHub <[email protected]>2024-04-01 14:28:40 +0200
commit836e4eb1116d23cc06cf0c9a7981f0e2636af1f9 (patch)
tree922adbafbc3c024c17d42b7a166fd7200e5887f1
parent294c31f0d558eb23f60309d4fb1793372de8073c (diff)
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