File 0222-erts-Fix-missing-const-on-maint-branch.patch of Package erlang
From 1f44d27a4246b60343dd21b5f22d42babc2f2073 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Thu, 4 Dec 2025 14:55:40 +0100
Subject: [PATCH] erts: Fix missing "const" on maint branch
---
erts/emulator/beam/beam_bp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/erts/emulator/beam/beam_bp.c b/erts/emulator/beam/beam_bp.c
index f8e88df6a6..52b046d7fe 100644
--- a/erts/emulator/beam/beam_bp.c
+++ b/erts/emulator/beam/beam_bp.c
@@ -238,7 +238,7 @@ erts_bp_match_functions(BpFunctions* f, ErtsCodeMFA *mfa, int specified,
}
if (ignore_bifs) {
- Export *ep = erts_active_export_entry(ci->mfa.module,
+ const Export *ep = erts_active_export_entry(ci->mfa.module,
ci->mfa.function,
ci->mfa.arity);
if (ep && ep->bif_number >= 0) {
--
2.51.0