mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
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 <francois.perrad@gadz.org> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
355106eaa4
commit
7d826e90f1
@@ -1,26 +0,0 @@
|
||||
From a5d6b2283834422a9fa9e79b5c7ad9b932b52568 Mon Sep 17 00:00:00 2001
|
||||
From: Calvin Rose <calsrose@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@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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user