From 1813ebe0ca66dbf3f22eb5a1cd2b7693b7042a9a Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Mon, 21 Sep 2026 12:39:07 +0800 Subject: [PATCH] register openkal-musl 0.19.1 Registration only: nothing here pins it yet. openkal-llvm-runtime names 0.19.0 exactly, and moving that pin is a separate change. 0.19.1 moves its own openkal-windows pin to 0.10.1, which makes a file opened for writing describable. `do_fstat` calls `okm_fs_file_info` and maps its error, so before it, `fstat` on a descriptor the caller opened a line earlier returned EACCES on Windows -- the pair libarchive performs when opening an archive for output. All four urls this and the previous registration add were fetched before this entry was written, not merely linted for shape: both hosts serve 0.19.1 at 1152093 bytes and 0.10.1 at 89854, and each CN copy is byte-for-byte identical to its GitHub archive. The CN url was written wrong once and caught by reading it back: a piecewise substitution replaced the file name before the directory pattern could match and produced `download/0.19.0/openkal-musl-0.19.1.tar.gz`, which serves nothing. The version is now replaced wholesale within each block, because the key, the GLOBAL tag, and both halves of the CN url name one version and have to move together. --- pkgs/o/openkal-musl.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/o/openkal-musl.lua b/pkgs/o/openkal-musl.lua index cf19f9e6..765777a2 100644 --- a/pkgs/o/openkal-musl.lua +++ b/pkgs/o/openkal-musl.lua @@ -52,6 +52,13 @@ package = { xpm = { linux = { + ["0.19.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.19.1/openkal-musl-0.19.1.tar.gz", + }, + sha256 = "8abfeab644830b9aa40314f9fdb56e0233733445198bafaa2767b53b8e44ef70", + }, ["0.19.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.0.tar.gz", @@ -243,6 +250,13 @@ package = { }, }, macosx = { + ["0.19.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.19.1/openkal-musl-0.19.1.tar.gz", + }, + sha256 = "8abfeab644830b9aa40314f9fdb56e0233733445198bafaa2767b53b8e44ef70", + }, ["0.19.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.0.tar.gz", @@ -434,6 +448,13 @@ package = { }, }, windows = { + ["0.19.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.19.1/openkal-musl-0.19.1.tar.gz", + }, + sha256 = "8abfeab644830b9aa40314f9fdb56e0233733445198bafaa2767b53b8e44ef70", + }, ["0.19.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.0.tar.gz",