[Buildroot] [PATCH] package/janet: bump to version 1.39.1

Francois Perrad francois.perrad at gadz.org
Thu Oct 16 09:28:26 UTC 2025


remove upstream patch

diff LICENSE:
    -Copyright (c) 2023 Calvin Rose and contributors
    +Copyright (c) 2025 Calvin Rose and contributors

Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
---
 ...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 5ee021e65..000000000
--- 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 <calsrose at gmail.com>
-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 <thomas.perale at mind.be>
----
- 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 a35835a54..15516a4cd 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 9bf5322d1..e076f7c46 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
-- 
2.43.0



More information about the buildroot mailing list