From 7d826e90f1fdd849b03e9fb381c692085f11fa8a Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Thu, 16 Oct 2025 11:28:26 +0200 Subject: [PATCH] package/janet: bump to version 1.39.1 For release notes since version 1.35.2, see: https://github.com/janet-lang/janet/releases remove upstream patch diff LICENSE: -Copyright (c) 2023 Calvin Rose and contributors +Copyright (c) 2025 Calvin Rose and contributors Signed-off-by: Francois Perrad Signed-off-by: Julien Olivain --- ...heck-for-glibc-instead-of-gnu-source.patch | 26 ------------------- package/janet/janet.hash | 4 +-- package/janet/janet.mk | 2 +- 3 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 package/janet/0001-check-for-glibc-instead-of-gnu-source.patch diff --git a/package/janet/0001-check-for-glibc-instead-of-gnu-source.patch b/package/janet/0001-check-for-glibc-instead-of-gnu-source.patch deleted file mode 100644 index 5ee021e658..0000000000 --- a/package/janet/0001-check-for-glibc-instead-of-gnu-source.patch +++ /dev/null @@ -1,26 +0,0 @@ -From a5d6b2283834422a9fa9e79b5c7ad9b932b52568 Mon Sep 17 00:00:00 2001 -From: Calvin Rose -Date: Fri, 21 Jun 2024 17:17:22 -0500 -Subject: [PATCH] Check for __GLIBC__ instead of _GNU_SOURCE - -musl doesn't obey this behavior. - -Upstream: https://github.com/janet-lang/janet/commit/a5d6b2283834422a9fa9e79b5c7ad9b932b52568 -Signed-off-by: Thomas Perale ---- - src/core/util.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/core/util.c b/src/core/util.c -index 4bb37abc5..6cb5676e0 100644 ---- a/src/core/util.c -+++ b/src/core/util.c -@@ -972,7 +972,7 @@ const char *janet_strerror(int e) { - #ifdef JANET_WINDOWS - /* Microsoft strerror seems sane here and is thread safe by default */ - return strerror(e); --#elif defined(_GNU_SOURCE) -+#elif defined(__GLIBC__) - /* See https://linux.die.net/man/3/strerror_r */ - return strerror_r(e, janet_vm.strerror_buf, sizeof(janet_vm.strerror_buf)); - #else diff --git a/package/janet/janet.hash b/package/janet/janet.hash index a35835a54e..15516a4cdc 100644 --- a/package/janet/janet.hash +++ b/package/janet/janet.hash @@ -1,5 +1,5 @@ # Locally calculated -sha256 947dfdab6c1417c7c43efef2ecb7a92a3c339ce2135233fe88323740e6e7fab1 janet-1.35.2.tar.gz +sha256 a43489328b88846e5cddbdad9274f25ee9854e337e52490a74bb7955de03c650 janet-1.39.1.tar.gz # Locally calculated -sha256 95fca700e8dce9699248e7cc80ac88ce2357874c8352cd2be4d18f183dc9710b LICENSE +sha256 805858acec1df54018879efc78ee3ff7bab5e69908c58e46bbc2d94520f29023 LICENSE diff --git a/package/janet/janet.mk b/package/janet/janet.mk index 9bf5322d16..e076f7c461 100644 --- a/package/janet/janet.mk +++ b/package/janet/janet.mk @@ -4,7 +4,7 @@ # ################################################################################ -JANET_VERSION = 1.35.2 +JANET_VERSION = 1.39.1 JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION)) JANET_LICENSE = MIT JANET_LICENSE_FILES = LICENSE