From 244cbd841e45740d7d14a05eb8681a2192e455cf Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 30 Aug 2026 03:08:16 +0800 Subject: [PATCH] openkal-musl 0.9.0 A build can state which version of this library it holds. `uname`'s release field was the string literal "0.5.0" through every release after 0.5.0, so a program that asked was given a false answer rather than none. It now comes from the manifest, and `OPENKAL_MUSL_TRACE=enosys` names the version before the program runs whether or not anything is missing --- the absence of which had two rounds of mcpplibs/openkal-linux#13 answered against the wrong version. Nothing changes for a program that does not ask: with the variable unset the library writes zero bytes to the error stream, asserted on every row. Measured before this commit: the CN mirror asset returns 200, opens as an archive, and its sha256 is identical to the GitHub tag tarball. --- 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 85af7be2..7b3b7671 100644 --- a/pkgs/o/openkal-musl.lua +++ b/pkgs/o/openkal-musl.lua @@ -24,6 +24,13 @@ package = { xpm = { linux = { + ["0.9.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.9.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.9.0/openkal-musl-0.9.0.tar.gz", + }, + sha256 = "18e63f25ac0ccde6057ca0028e33630790a6268d83ca0eca03fc81fde818dc1a", + }, ["0.8.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.8.0.tar.gz", @@ -103,6 +110,13 @@ package = { }, }, macosx = { + ["0.9.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.9.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.9.0/openkal-musl-0.9.0.tar.gz", + }, + sha256 = "18e63f25ac0ccde6057ca0028e33630790a6268d83ca0eca03fc81fde818dc1a", + }, ["0.8.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.8.0.tar.gz", @@ -182,6 +196,13 @@ package = { }, }, windows = { + ["0.9.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.9.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.9.0/openkal-musl-0.9.0.tar.gz", + }, + sha256 = "18e63f25ac0ccde6057ca0028e33630790a6268d83ca0eca03fc81fde818dc1a", + }, ["0.8.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.8.0.tar.gz",