diff options
Diffstat (limited to 'dev-lang')
22 files changed, 1431 insertions, 597 deletions
diff --git a/dev-lang/c-intercal/files/c-intercal-31.0-no-common.patch b/dev-lang/c-intercal/files/c-intercal-31.0-no-common.patch deleted file mode 100644 index ff409aeb2518..000000000000 --- a/dev-lang/c-intercal/files/c-intercal-31.0-no-common.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://bugs.gentoo.org/711902 - ---- intercal-0.31-orig/src/perpet.c -+++ intercal-0.31/src/perpet.c -@@ -85,7 +85,7 @@ - /* function created by yacc */ - extern int yyparse(void); - --int yydebug; -+extern int yydebug; - - /* compilation options */ - bool compile_only; /* just compile into C, don't run the linker */ diff --git a/dev-lang/c-intercal/files/c-intercal-31.0-version.patch b/dev-lang/c-intercal/files/c-intercal-31.0-version.patch deleted file mode 100644 index 85ce41837f59..000000000000 --- a/dev-lang/c-intercal/files/c-intercal-31.0-version.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- intercal-0.31-orig/configure.ac -+++ intercal-0.31/configure.ac -@@ -14,7 +14,7 @@ - subdir-objects no-texinfo.tex -Wall -Wno-override]) - - dnl Information about this version of INTERCAL. --PACKAGE_VERSION=0.30 -+PACKAGE_VERSION=0.31 - REPOSITORY_URL=`sed -n <control '/XBS-Repository-URL: */s///p'` - - dnl Checks for programs. diff --git a/dev-lang/deno-bin/Manifest b/dev-lang/deno-bin/Manifest index 41dd8a22bd53..a84f8e856fca 100644 --- a/dev-lang/deno-bin/Manifest +++ b/dev-lang/deno-bin/Manifest @@ -1,2 +1,4 @@ DIST deno-bin-2.5.6-amd64.zip 45849694 BLAKE2B 14ef415242185f2c62887bdb6017562ec68f1e0b63efad8622d5a1805a3464294c4b21f30438d9e5687decd0abfb07a1ce6bd90f8ab98d0537e66af8d62453c5 SHA512 e0e6a0e88773bf95e9381cdbac7386d14d58fe464c837e98f2f873e45725be63e6869c64a4851a7ab9898f85421c60dd888af55b434f30cf2a3b203117658f0c DIST deno-bin-2.5.6-arm64.zip 44002968 BLAKE2B 70432e00964444123c9b17120dbecc01c314ec6d6e000c18b2368488b88c27d310e3c7cc2f378a29dc2fb248c14549bab9cc95a49ade691be1d2953260e06751 SHA512 9ae8bbcff1580f66a766a27ff20444e7b2591b431b474cfb178b6ed369cbd7f24814b48e52378d8b7370f65488a9708692bf3af32a8b79622f83ea19fef45b7e +DIST deno-bin-2.6.0-amd64.zip 46636175 BLAKE2B bf7c4283035382c9bd644c2e7df53bde82af71daf21dc0e0f3ee4e49552a0a7df52b895bb0e7c50918bea000dfff3fefd89c9c33f90c8c9945ac6f10c4c16b4c SHA512 942772290d54625f8add6f71e7224c21cd4810da8b840982c77b2a8894f3c240bc69ec0aab442c75a7a64c367bc52370d55d452d56532e46ae555b8b23065316 +DIST deno-bin-2.6.0-arm64.zip 44728511 BLAKE2B 1b128d61f3917244bb7ce441954696f2b583330ec804b8b17e2a678af39d7991cb61a2fdc1c178a317920a5505b3f72ec754477acfd6757cee702a04a920a178 SHA512 deb8d9f93d114637d2b073a5342d74a62d2f1a2096dd4c5d05d0177529798456a9154c370d17c36b744776b7d330b26379d089fc0e53876587e81981d74be738 diff --git a/dev-lang/deno-bin/deno-bin-2.6.0.ebuild b/dev-lang/deno-bin/deno-bin-2.6.0.ebuild new file mode 100644 index 000000000000..0b12f20f50f4 --- /dev/null +++ b/dev-lang/deno-bin/deno-bin-2.6.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shell-completion toolchain-funcs + +DESCRIPTION="Modern runtime for JavaScript and TypeScript" +HOMEPAGE="https://deno.com/" +SRC_URI=" + amd64? ( + https://github.com/denoland/deno/releases/download/v${PV}/deno-x86_64-unknown-linux-gnu.zip + -> ${P}-amd64.zip + ) + arm64? ( + https://github.com/denoland/deno/releases/download/v${PV}/deno-aarch64-unknown-linux-gnu.zip + -> ${P}-arm64.zip + ) +" +S=${WORKDIR} + +LICENSE="MIT" +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC MIT + MPL-2.0 openssl Unicode-3.0 Unicode-DFS-2016 ZLIB +" # crates +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" + +RDEPEND=" + || ( + llvm-runtimes/libgcc + sys-devel/gcc:* + ) + sys-libs/glibc +" +BDEPEND=" + app-arch/unzip +" + +QA_PREBUILT="usr/bin/deno" + +src_compile() { + if ! tc-is-cross-compiler; then + ./deno completions bash > "${T}"/deno || die + ./deno completions fish > "${T}"/deno.fish || die + ./deno completions zsh > "${T}"/_deno || die + else + ewarn "shell completion files were skipped due to cross-compilation" + fi +} + +src_install() { + dobin deno + + if ! tc-is-cross-compiler; then + dobashcomp "${T}"/deno + dofishcomp "${T}"/deno.fish + dozshcomp "${T}"/_deno + fi +} diff --git a/dev-lang/erlang/erlang-28.1.ebuild b/dev-lang/erlang/erlang-28.1.ebuild index e1e6123e2da5..d1791f655abe 100644 --- a/dev-lang/erlang/erlang-28.1.ebuild +++ b/dev-lang/erlang/erlang-28.1.ebuild @@ -22,7 +22,7 @@ LICENSE="Apache-2.0" # same build of ERTS that was used when compiling the code. See # http://erlang.org/doc/system_principles/misc.html for more information. SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc java +kpoll odbc sctp ssl systemd tk wxwidgets" RDEPEND=" diff --git a/dev-lang/go/files/go-1.24-vgetrandom.patch b/dev-lang/go/files/go-1.24-vgetrandom.patch deleted file mode 100644 index 5baed139a022..000000000000 --- a/dev-lang/go/files/go-1.24-vgetrandom.patch +++ /dev/null @@ -1,234 +0,0 @@ -From ff2636f45e0087a1c6d8e895257d9c4729710811 Mon Sep 17 00:00:00 2001 -From: Michael Pratt <mpratt@google.com> -Date: Thu, 03 Apr 2025 03:26:25 +0000 -Subject: [PATCH] [release-branch.go1.24] runtime: cleanup M vgetrandom state before dropping P - -When an M is destroyed, we put its vgetrandom state back on the shared -list for another M to reuse. This list is simply a slice, so appending -to the slice may allocate. Currently this operation is performed in -mdestroy, after the P is released, meaning allocation is not allowed. - -More the cleanup earlier in mdestroy when allocation is still OK. - -Also add //go:nowritebarrierrec to mdestroy since it runs without a P, -which would have caught this bug. - -Fixes #73144. -For #73141. - -Change-Id: I6a6a636c3fbf5c6eec09d07a260e39dbb4d2db12 -Reviewed-on: https://go-review.googlesource.com/c/go/+/662455 -Reviewed-by: Jason Donenfeld <Jason@zx2c4.com> -LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> -Reviewed-by: Keith Randall <khr@golang.org> -Reviewed-by: Keith Randall <khr@google.com> -(cherry picked from commit 0b31e6d4cc804ab76ae8ced151ee2f50657aec14) ---- - -diff --git a/src/runtime/os3_solaris.go b/src/runtime/os3_solaris.go -index cf163a6..ded821b 100644 ---- a/src/runtime/os3_solaris.go -+++ b/src/runtime/os3_solaris.go -@@ -234,8 +234,11 @@ - getg().m.procid = 0 - } - --// Called from exitm, but not from drop, to undo the effect of thread-owned -+// Called from mexit, but not from dropm, to undo the effect of thread-owned - // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. -+// -+// This always runs without a P, so //go:nowritebarrierrec is required. -+//go:nowritebarrierrec - func mdestroy(mp *m) { - } - -diff --git a/src/runtime/os_aix.go b/src/runtime/os_aix.go -index 93464cb..1b483c2 100644 ---- a/src/runtime/os_aix.go -+++ b/src/runtime/os_aix.go -@@ -186,8 +186,11 @@ - getg().m.procid = 0 - } - --// Called from exitm, but not from drop, to undo the effect of thread-owned -+// Called from mexit, but not from dropm, to undo the effect of thread-owned - // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. -+// -+// This always runs without a P, so //go:nowritebarrierrec is required. -+//go:nowritebarrierrec - func mdestroy(mp *m) { - } - -diff --git a/src/runtime/os_darwin.go b/src/runtime/os_darwin.go -index 0ecbea7..6eab3b5 100644 ---- a/src/runtime/os_darwin.go -+++ b/src/runtime/os_darwin.go -@@ -344,8 +344,11 @@ - getg().m.procid = 0 - } - --// Called from exitm, but not from drop, to undo the effect of thread-owned -+// Called from mexit, but not from dropm, to undo the effect of thread-owned - // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. -+// -+// This always runs without a P, so //go:nowritebarrierrec is required. -+//go:nowritebarrierrec - func mdestroy(mp *m) { - } - -diff --git a/src/runtime/os_dragonfly.go b/src/runtime/os_dragonfly.go -index a02696e..9b32350 100644 ---- a/src/runtime/os_dragonfly.go -+++ b/src/runtime/os_dragonfly.go -@@ -216,8 +216,11 @@ - getg().m.procid = 0 - } - --// Called from exitm, but not from drop, to undo the effect of thread-owned -+// Called from mexit, but not from dropm, to undo the effect of thread-owned - // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. -+// -+// This always runs without a P, so //go:nowritebarrierrec is required. -+//go:nowritebarrierrec - func mdestroy(mp *m) { - } - -diff --git a/src/runtime/os_linux.go b/src/runtime/os_linux.go -index 8b3c4d0..fb46b81 100644 ---- a/src/runtime/os_linux.go -+++ b/src/runtime/os_linux.go -@@ -412,13 +412,12 @@ - getg().m.procid = 0 - } - --// Called from exitm, but not from drop, to undo the effect of thread-owned -+// Called from mexit, but not from dropm, to undo the effect of thread-owned - // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. -+// -+// This always runs without a P, so //go:nowritebarrierrec is required. -+//go:nowritebarrierrec - func mdestroy(mp *m) { -- if mp.vgetrandomState != 0 { -- vgetrandomPutState(mp.vgetrandomState) -- mp.vgetrandomState = 0 -- } - } - - // #ifdef GOARCH_386 -diff --git a/src/runtime/os_netbsd.go b/src/runtime/os_netbsd.go -index 735ace2..a06e5fe 100644 ---- a/src/runtime/os_netbsd.go -+++ b/src/runtime/os_netbsd.go -@@ -320,8 +320,11 @@ - // must continue working after unminit. - } - --// Called from exitm, but not from drop, to undo the effect of thread-owned -+// Called from mexit, but not from dropm, to undo the effect of thread-owned - // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. -+// -+// This always runs without a P, so //go:nowritebarrierrec is required. -+//go:nowritebarrierrec - func mdestroy(mp *m) { - } - -diff --git a/src/runtime/os_openbsd.go b/src/runtime/os_openbsd.go -index 574bfa8..4ce4c3c 100644 ---- a/src/runtime/os_openbsd.go -+++ b/src/runtime/os_openbsd.go -@@ -182,8 +182,11 @@ - getg().m.procid = 0 - } - --// Called from exitm, but not from drop, to undo the effect of thread-owned -+// Called from mexit, but not from dropm, to undo the effect of thread-owned - // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. -+// -+// This always runs without a P, so //go:nowritebarrierrec is required. -+//go:nowritebarrierrec - func mdestroy(mp *m) { - } - -diff --git a/src/runtime/os_plan9.go b/src/runtime/os_plan9.go -index 2dbb42a..3b5965a 100644 ---- a/src/runtime/os_plan9.go -+++ b/src/runtime/os_plan9.go -@@ -217,8 +217,11 @@ - func unminit() { - } - --// Called from exitm, but not from drop, to undo the effect of thread-owned -+// Called from mexit, but not from dropm, to undo the effect of thread-owned - // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. -+// -+// This always runs without a P, so //go:nowritebarrierrec is required. -+//go:nowritebarrierrec - func mdestroy(mp *m) { - } - -diff --git a/src/runtime/os_windows.go b/src/runtime/os_windows.go -index 7183e79..54407a3 100644 ---- a/src/runtime/os_windows.go -+++ b/src/runtime/os_windows.go -@@ -906,9 +906,11 @@ - mp.procid = 0 - } - --// Called from exitm, but not from drop, to undo the effect of thread-owned -+// Called from mexit, but not from dropm, to undo the effect of thread-owned - // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. - // -+// This always runs without a P, so //go:nowritebarrierrec is required. -+//go:nowritebarrierrec - //go:nosplit - func mdestroy(mp *m) { - if mp.highResTimer != 0 { -diff --git a/src/runtime/proc.go b/src/runtime/proc.go -index e9873e5..21bee4d 100644 ---- a/src/runtime/proc.go -+++ b/src/runtime/proc.go -@@ -1935,6 +1935,9 @@ - mp.gsignal = nil - } - -+ // Free vgetrandom state. -+ vgetrandomDestroy(mp) -+ - // Remove m from allm. - lock(&sched.lock) - for pprev := &allm; *pprev != nil; pprev = &(*pprev).alllink { -diff --git a/src/runtime/vgetrandom_linux.go b/src/runtime/vgetrandom_linux.go -index a6ec4b7..40be022 100644 ---- a/src/runtime/vgetrandom_linux.go -+++ b/src/runtime/vgetrandom_linux.go -@@ -73,9 +73,16 @@ - return state - } - --func vgetrandomPutState(state uintptr) { -+// Free vgetrandom state from the M (if any) prior to destroying the M. -+// -+// This may allocate, so it must have a P. -+func vgetrandomDestroy(mp *m) { -+ if mp.vgetrandomState == 0 { -+ return -+ } -+ - lock(&vgetrandomAlloc.statesLock) -- vgetrandomAlloc.states = append(vgetrandomAlloc.states, state) -+ vgetrandomAlloc.states = append(vgetrandomAlloc.states, mp.vgetrandomState) - unlock(&vgetrandomAlloc.statesLock) - } - -diff --git a/src/runtime/vgetrandom_unsupported.go b/src/runtime/vgetrandom_unsupported.go -index 070392c..43c53e1 100644 ---- a/src/runtime/vgetrandom_unsupported.go -+++ b/src/runtime/vgetrandom_unsupported.go -@@ -13,6 +13,6 @@ - return -1, false - } - --func vgetrandomPutState(state uintptr) {} -+func vgetrandomDestroy(mp *m) {} - - func vgetrandomInit() {} diff --git a/dev-lang/go/files/go-sets.conf b/dev-lang/go/files/go-sets.conf deleted file mode 100644 index f38edb71a6fc..000000000000 --- a/dev-lang/go/files/go-sets.conf +++ /dev/null @@ -1,7 +0,0 @@ -# Installed packages for which vdb *DEPEND includes dev-lang/go. -# This is useful after a dev-lang/go version change to rebuild all -# software written in Go. -[golang-rebuild] -class = portage.sets.dbapi.VariableSet -variable = BDEPEND -includes = dev-lang/go diff --git a/dev-lang/jerryscript/files/jerryscript-2.4.0-no-werror.patch b/dev-lang/jerryscript/files/jerryscript-2.4.0-no-werror.patch deleted file mode 100644 index 216e72758a25..000000000000 --- a/dev-lang/jerryscript/files/jerryscript-2.4.0-no-werror.patch +++ /dev/null @@ -1,33 +0,0 @@ -https://bugs.gentoo.org/840263 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -167,7 +167,6 @@ endmacro() - macro(jerry_add_compile_warnings) - foreach(_warning ${ARGV}) - jerry_add_compile_flags(-W${_warning}) -- jerry_add_compile_flags(-Werror=${_warning}) - endforeach() - endmacro() - -@@ -212,7 +211,7 @@ if(USING_GCC OR USING_CLANG) - jerry_add_compile_flags(-fno-builtin) - endif() - jerry_add_compile_warnings(all extra format-nonliteral init-self conversion sign-conversion format-security missing-declarations shadow strict-prototypes undef old-style-definition) -- jerry_add_compile_flags(-Wno-stack-protector -Wno-attributes -Werror) -+ jerry_add_compile_flags(-Wno-stack-protector -Wno-attributes) - endif() - - if(USING_GCC) ---- a/targets/zephyr/Makefile.zephyr -+++ b/targets/zephyr/Makefile.zephyr -@@ -55,9 +55,8 @@ EXT_CFLAGS += -ffunction-sections -fno-inline-functions - EXT_CFLAGS += $(KBUILD_CFLAGS) $(NOSTDINC_FLAGS) $(subst -I,-isystem,$(ZEPHYRINCLUDE)) - - EXT_CFLAGS += -Wall -Wno-format-zero-length -Wno-pointer-sign --EXT_CFLAGS += -Werror=format -Werror=implicit-int -Wno-unused-but-set-variable -+EXT_CFLAGS += -Wformat -Wimplicit-int -Wno-unused-but-set-variable - EXT_CFLAGS += -Wno-main -Wno-strict-aliasing -Wno-old-style-declaration --EXT_CFLAGS += -Wno-error=format= - EXT_CFLAGS += -D_XOPEN_SOURCE=700 - - EXT_CFLAGS += -Wno-error=conversion diff --git a/dev-lang/jerryscript/files/jerryscript-2.4.0-python3-r4.patch b/dev-lang/jerryscript/files/jerryscript-2.4.0-python3-r4.patch deleted file mode 100644 index 92198f3901d4..000000000000 --- a/dev-lang/jerryscript/files/jerryscript-2.4.0-python3-r4.patch +++ /dev/null @@ -1,236 +0,0 @@ -From 22d8b904d85e548aa06d2d665aeaaee510a2435a Mon Sep 17 00:00:00 2001 -From: Zac Medico <zmedico@gmail.com> -Date: Sun, 23 May 2021 13:46:30 -0700 -Subject: [PATCH] Python debugger support for Python 3 (in addition to Python - 2) - -- Added safe_ord compatibility to pass through int arguments -- Fixed JerryDebugger to decode bytes as utf8 strings when necessary -- Fixed WebSocket send_message method to use packed_data[0:1] bytes slice - -JerryScript-DCO-1.0-Signed-off-by: Zac Medico <zmedico@gmail.com> ---- - jerry-debugger/jerry_client_main.py | 82 ++++++++++++++---------- - jerry-debugger/jerry_client_rawpacket.py | 13 +++- - jerry-debugger/jerry_client_websocket.py | 15 ++++- - 3 files changed, 74 insertions(+), 36 deletions(-) - -diff --git a/jerry-debugger/jerry_client_main.py b/jerry-debugger/jerry_client_main.py -index e65d0e14..ee3ffd26 100644 ---- a/jerry-debugger/jerry_client_main.py -+++ b/jerry-debugger/jerry_client_main.py -@@ -151,2 +151,11 @@ def arguments_parse(): - -+if sys.version_info.major >= 3: -+ def safe_ord(c): -+ if isinstance(c, int): -+ return c -+ return ord(c) -+else: -+ safe_ord = ord -+ -+ - class JerryBreakpoint(object): -@@ -309,8 +318,8 @@ class JerryDebugger(object): - -- if len(result) != config_size or ord(result[0]) != JERRY_DEBUGGER_CONFIGURATION: -+ if len(result) != config_size or safe_ord(result[0]) != JERRY_DEBUGGER_CONFIGURATION: - raise Exception("Unexpected configuration") - -- self.little_endian = ord(result[1]) & JERRY_DEBUGGER_LITTLE_ENDIAN -- self.max_message_size = ord(result[6]) -- self.cp_size = ord(result[7]) -+ self.little_endian = safe_ord(result[1]) & JERRY_DEBUGGER_LITTLE_ENDIAN -+ self.max_message_size = safe_ord(result[6]) -+ self.cp_size = safe_ord(result[7]) - -@@ -402,3 +411,3 @@ class JerryDebugger(object): - if args != "pending": -- for i in self.active_breakpoint_list.values(): -+ for i in list(self.active_breakpoint_list.values()): - breakpoint = self.active_breakpoint_list[i.active_index] -@@ -563,2 +572,3 @@ class JerryDebugger(object): - def _send_string(self, args, message_type, index=0): -+ args = args.encode("utf8") - -@@ -686,3 +696,3 @@ class JerryDebugger(object): - -- buffer_type = ord(data[0]) -+ buffer_type = safe_ord(data[0]) - buffer_size = len(data) -1 -@@ -740,6 +750,6 @@ class JerryDebugger(object): - elif buffer_type == JERRY_DEBUGGER_EXCEPTION_STR: -- self.exception_string += data[1:] -+ self.exception_string += data[1:].decode("utf8") - - elif buffer_type == JERRY_DEBUGGER_EXCEPTION_STR_END: -- self.exception_string += data[1:] -+ self.exception_string += data[1:].decode("utf8") - -@@ -810,3 +820,3 @@ class JerryDebugger(object): - elif buffer_type in [JERRY_DEBUGGER_SCOPE_VARIABLES, JERRY_DEBUGGER_SCOPE_VARIABLES_END]: -- self.scope_vars += "".join(data[1:]) -+ self.scope_vars += "".join(data[1:].decode("utf8")) - -@@ -866,5 +876,5 @@ class JerryDebugger(object): - def _parse_source(self, data): -- source_code = "" -- source_code_name = "" -- function_name = "" -+ source_code = b"" -+ source_code_name = b"" -+ function_name = b"" - stack = [{"line": 1, -@@ -881,3 +891,3 @@ class JerryDebugger(object): - -- buffer_type = ord(data[0]) -+ buffer_type = safe_ord(data[0]) - buffer_size = len(data) - 1 -@@ -905,10 +915,10 @@ class JerryDebugger(object): - -- stack.append({"source": source_code, -- "source_name": source_code_name, -+ stack.append({"source": source_code.decode("utf8"), -+ "source_name": source_code_name.decode("utf8"), - "line": position[0], - "column": position[1], -- "name": function_name, -+ "name": function_name.decode("utf8"), - "lines": [], - "offsets": []}) -- function_name = "" -+ function_name = b"" - -@@ -939,4 +949,4 @@ class JerryDebugger(object): - if not stack: -- func_desc["source"] = source_code -- func_desc["source_name"] = source_code_name -+ func_desc["source"] = source_code.decode("utf8") -+ func_desc["source_name"] = source_code_name.decode("utf8") - -@@ -991,3 +1001,3 @@ class JerryDebugger(object): - -- for breakpoint_index, breakpoint in bp_list.items(): -+ for breakpoint_index, breakpoint in list(bp_list.items()): - source_lines = 0 -@@ -1134,3 +1144,3 @@ class JerryDebugger(object): - JERRY_DEBUGGER_OUTPUT_RESULT_END]: -- subtype = ord(data[-1]) -+ subtype = safe_ord(data[-1]) - message += data[1:-1] -@@ -1141,3 +1151,3 @@ class JerryDebugger(object): - data = self.channel.get_message(True) -- buffer_type = ord(data[0]) -+ buffer_type = safe_ord(data[0]) - # Checks if the next frame would be an invalid data frame. -@@ -1153,4 +1163,4 @@ class JerryDebugger(object): - message = self.current_out + message -- lines = message.split("\n") -- self.current_out = lines.pop() -+ lines = message.decode("utf8").split("\n") -+ self.current_out = lines.pop().encode("utf8") - -@@ -1162,4 +1172,4 @@ class JerryDebugger(object): - message = self.current_log + message -- lines = message.split("\n") -- self.current_log = lines.pop() -+ lines = message.decode("utf8").split("\n") -+ self.current_log = lines.pop().encode("utf8") - -@@ -1167,2 +1177,3 @@ class JerryDebugger(object): - -+ message = message.decode("utf8") - if not message.endswith("\n"): -@@ -1176,2 +1187,5 @@ class JerryDebugger(object): - return "%strace: %s%s" % (self.blue, self.nocolor, message) -+ else: -+ message = message.decode("utf8") -+ - -@@ -1195,3 +1209,3 @@ class JerryDebugger(object): - # Process name -- name_length = ord(self.scope_vars[buff_pos:buff_pos + 1]) -+ name_length = safe_ord(self.scope_vars[buff_pos:buff_pos + 1]) - buff_pos += 1 -@@ -1201,3 +1215,3 @@ class JerryDebugger(object): - # Process type -- value_type = ord(self.scope_vars[buff_pos:buff_pos + 1]) -+ value_type = safe_ord(self.scope_vars[buff_pos:buff_pos + 1]) - -@@ -1205,3 +1219,3 @@ class JerryDebugger(object): - -- value_length = ord(self.scope_vars[buff_pos:buff_pos + 1]) -+ value_length = safe_ord(self.scope_vars[buff_pos:buff_pos + 1]) - buff_pos += 1 -@@ -1236,12 +1250,12 @@ class JerryDebugger(object): - for i, level in enumerate(self.scope_data): -- if ord(level) == JERRY_DEBUGGER_SCOPE_WITH: -+ if safe_ord(level) == JERRY_DEBUGGER_SCOPE_WITH: - table.append([str(i), 'with']) -- elif ord(level) == JERRY_DEBUGGER_SCOPE_GLOBAL: -+ elif safe_ord(level) == JERRY_DEBUGGER_SCOPE_GLOBAL: - table.append([str(i), 'global']) -- elif ord(level) == JERRY_DEBUGGER_SCOPE_NON_CLOSURE: -+ elif safe_ord(level) == JERRY_DEBUGGER_SCOPE_NON_CLOSURE: - # Currently it is only marks the catch closure. - table.append([str(i), 'catch']) -- elif ord(level) == JERRY_DEBUGGER_SCOPE_LOCAL: -+ elif safe_ord(level) == JERRY_DEBUGGER_SCOPE_LOCAL: - table.append([str(i), 'local']) -- elif ord(level) == JERRY_DEBUGGER_SCOPE_CLOSURE: -+ elif safe_ord(level) == JERRY_DEBUGGER_SCOPE_CLOSURE: - table.append([str(i), 'closure']) -diff --git a/jerry-debugger/jerry_client_rawpacket.py b/jerry-debugger/jerry_client_rawpacket.py -index 5c3304ed..275be83c 100644 ---- a/jerry-debugger/jerry_client_rawpacket.py -+++ b/jerry-debugger/jerry_client_rawpacket.py -@@ -17,2 +17,3 @@ - import struct -+import sys - -@@ -20,2 +21,12 @@ MAX_BUFFER_SIZE = 256 - -+ -+if sys.version_info.major >= 3: -+ def safe_ord(c): -+ if isinstance(c, int): -+ return c -+ return ord(c) -+else: -+ safe_ord = ord -+ -+ - class RawPacket(object): -@@ -72,3 +83,3 @@ class RawPacket(object): - if len(self.data_buffer) >= 1: -- size = ord(self.data_buffer[0]) -+ size = safe_ord(self.data_buffer[0]) - if size == 0: -diff --git a/jerry-debugger/jerry_client_websocket.py b/jerry-debugger/jerry_client_websocket.py -index fe2c761a..9c755966 100644 ---- a/jerry-debugger/jerry_client_websocket.py -+++ b/jerry-debugger/jerry_client_websocket.py -@@ -17,2 +17,3 @@ - import struct -+import sys - -@@ -22,2 +23,14 @@ WEBSOCKET_FIN_BIT = 0x80 - -+ -+if sys.version_info.major >= 3: -+ # pylint: disable=invalid-name -+ _ord_orig = ord -+ def _ord_compat(c): -+ if isinstance(c, int): -+ return c -+ return _ord_orig(c) -+ # pylint: disable=redefined-builtin -+ ord = _ord_compat -+ -+ - class WebSocket(object): -@@ -94,3 +107,3 @@ class WebSocket(object): - WEBSOCKET_BINARY_FRAME | WEBSOCKET_FIN_BIT, -- WEBSOCKET_FIN_BIT + struct.unpack(byte_order + "B", packed_data[0])[0], -+ WEBSOCKET_FIN_BIT + struct.unpack(byte_order + "B", packed_data[0:1])[0], - 0) + packed_data[1:] diff --git a/dev-lang/luau/files/luau-0.653-cmake_minimum.patch b/dev-lang/luau/files/luau-0.653-cmake_minimum.patch deleted file mode 100644 index f17901c0a65c..000000000000 --- a/dev-lang/luau/files/luau-0.653-cmake_minimum.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -4,7 +4,7 @@ if(EXT_PLATFORM_STRING) - return() - endif() - --cmake_minimum_required(VERSION 3.0) -+cmake_minimum_required(VERSION 3.20) - - option(LUAU_BUILD_CLI "Build CLI" ON) - option(LUAU_BUILD_TESTS "Build tests" ON) -@@ -17,7 +17,6 @@ cmake_policy(SET CMP0054 NEW) - cmake_policy(SET CMP0091 NEW) - - if(LUAU_STATIC_CRT) -- cmake_minimum_required(VERSION 3.15) - set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") - endif() - diff --git a/dev-lang/python/python-3.10.19.ebuild b/dev-lang/python/python-3.10.19.ebuild index c9baa433fc83..38b550df4918 100644 --- a/dev-lang/python/python-3.10.19.ebuild +++ b/dev-lang/python/python-3.10.19.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE=" bluetooth debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind diff --git a/dev-lang/python/python-3.11.14.ebuild b/dev-lang/python/python-3.11.14.ebuild index 494ebea15c74..83a4e1b54b26 100644 --- a/dev-lang/python/python-3.11.14.ebuild +++ b/dev-lang/python/python-3.11.14.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE=" bluetooth debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind diff --git a/dev-lang/python/python-3.14.0_p1.ebuild b/dev-lang/python/python-3.14.0_p1.ebuild index fe4cbfe93cfd..ee0b5302fe86 100644 --- a/dev-lang/python/python-3.14.0_p1.ebuild +++ b/dev-lang/python/python-3.14.0_p1.ebuild @@ -33,7 +33,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE=" bluetooth debug +ensurepip examples gdbm jit libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest index 1ef5bf3ed9f5..061b3abe3614 100644 --- a/dev-lang/rust-bin/Manifest +++ b/dev-lang/rust-bin/Manifest @@ -701,6 +701,36 @@ DIST rust-1.91.0-x86_64-unknown-linux-gnu.tar.xz 192170744 BLAKE2B a06c63e3c534e DIST rust-1.91.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 4bfa68287897a1b5916c04a56909aaeaa305cbdc4a9bef377295429221e48451a6f4670929c9d35e80a0d40478352702673bdae4958a924d4124c26e888ff561 SHA512 35e678a3d164b5f198e5aac2ed1c1a6af8fde83b84c84be6e3ce51a7099ae0a3e7d25510b45a1b2d6bb99599cda0f18ceec46883982bdca6ece94eb1e381ed0b DIST rust-1.91.0-x86_64-unknown-linux-musl.tar.xz 295368056 BLAKE2B 3057d8cc29bc789bd1c4d9d0779a0b2ef4b26c2278373960558a316061db72a77edf37e330eefe5c3ec66b69cf184fb46a14641162ba6ecf96f909d3ac7db100 SHA512 98a03725e216687be237358b1a6598470e98322af6cf51fc51d7ede23ae58b0107872a7f8ee2e4e69e9531b821be7145a975c86899a97728e809260b35ab7f23 DIST rust-1.91.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B a8fb18793e536aec99626bf3d85890cbbbd8c2ee5e2a2917999543bd3153b026db1072419ad464e35ecc508e3e3fcb9cae450b4f590359589545fe9adbbcc26d SHA512 0c3bce48b1ddc7d97946ad5e27f8dde91dd14743577fe60056f7c6558139bab7d8aec4ce76901abd2633a61eb122bc30595779cea047ff7a714e83fda2921cb9 +DIST rust-1.92.0-aarch64-unknown-linux-gnu.tar.xz 169667388 BLAKE2B 268524a8066b68dfc2aa4fa524679b3ecc1bf47f74aab47b794eeb0a3ecc76255b7056ad1a852512a52a06802a2dc457bba8c60107d0cb9b464215c344c5430d SHA512 ade2921e938d7bc76638f7f3a47c23c35078cc9d92dbe4a6f032c74204ee41029e276479726154094d06f21e085a44b3a494649940e136a375b066952599eee0 +DIST rust-1.92.0-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B af7d38ab3fe8656c6234bb7bfd6129e52107b8f55f2cab7b234b74bd7219c9f8de7becc15b8f26dfb424085a15652876b62f8d8bacaadf612b4137a36c642eb4 SHA512 38ddf0d10ec9ad6b859b676c95c93736f8f5135235d0723aafec59b1a2d55e077e549d3b97fecf4b1794d120e3ecc4ed1828170df53b0ca4ea89fc252c500539 +DIST rust-1.92.0-aarch64-unknown-linux-musl.tar.xz 243864176 BLAKE2B 1f204b6b324aca414854f823bc16279444e27e9317092fe7a52f87420a1abcc3e56496baa9f69db00da3af8e81685b1fdeee53537f22910c26513fb7a4a6f6fd SHA512 c86001441d76110a5cfe79c4928997ca7d6211928607fa25f2cbbe06a279ab410d285f24c40dd112ec7d707a71d205b5b784cb465aaccbfb040895a4de44995d +DIST rust-1.92.0-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 2e1d204cd5b420b28dcd8058c573a923df355cb6115804c8f763838d77cb4a430843f5aa44e7b58150ce4aac4920d8e74180ed94a9c2533530dfca472764822c SHA512 27d817e6390c7dede11133b75ca42d839179a62829c1376a866d2c9435c0f5f669fd55d5e8a357cfd359c3a0fffdf7315f296652a44818f313c70b76dc118a35 +DIST rust-1.92.0-arm-unknown-linux-gnueabi.tar.xz 226603088 BLAKE2B 7515c103ba35a953ec1ff76e346d4468ebc9e468896b8b63217536dd60ebc069a55d0a3a0dcea378993edbc9b80c1bf38b0cd3b6d36d3798dffc759845023f63 SHA512 af5b205a4f8cf4216adc7ba842e33165ccd9b6837d28c886a0c781310ef5afb0707826ada83fbd478c02a7365d5e784f3aad0df5526ffe64747ac3df85f5ccab +DIST rust-1.92.0-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B bda65222f9cd8e8197e69de7916ba20a53ed7e2a3eda62582b24eb39dbf39c76fe4b0034b3b89ef1d84fafcb7ece0c4884ccc90a4d84b5bbb1381f1cd5166c07 SHA512 c6c8b81c2e20a71eea1a6dff526708f6b6868c13f102ffe7178329f481183321f55a8e99d9edc5047dbbe33bee4ac0bb5fcb5c91abc4113b61252c84947c8845 +DIST rust-1.92.0-arm-unknown-linux-gnueabihf.tar.xz 226977168 BLAKE2B 001e8ef2b098b796801aa5d544c69325d771f5ceae18bd49666d6075d0075987e31e13bd22d8be8049850818070a0d2a371606f94a859bcb8074433c68d5cdd0 SHA512 373bbf25efae00e3f0ba291434facd0a1493dbe5732675cadf9c083be434a58faa93e0701281018e30495ecbb9181bf1dcd5440be167ac47b208fe6ff4b9ce28 +DIST rust-1.92.0-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B e91a70eae027b9232a8d795403addce6c9ce93aa6955602ab1395921812e8279de7351fdef3386973d08cd210c78d98f6ffd6f84e01b8c42fac488e43e9c4843 SHA512 85c3cfab75724a454a6cd4e3e4acbbefbc9a424093fbb8428c3e7d61d9eff06a4d6a82ae7289b340422cf2b670fbec1d04d4134ffbf765309a941a4ed7f5e16b +DIST rust-1.92.0-armv7-unknown-linux-gnueabihf.tar |
