File 4312-Update-deprecations.patch of Package erlang
From c2c5f14ea9f4cc176a66505f3841a42c4c7ab70b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org>
Date: Mon, 21 Feb 2022 23:21:12 +0100
Subject: [PATCH 2/2] Update deprecations
---
bootstrap/lib/stdlib/ebin/otp_internal.beam | Bin 5856 -> 5908 bytes
lib/stdlib/src/otp_internal.erl | 2 ++
2 files changed, 2 insertions(+)
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index 4ab8e307f4..49fb28ec3a 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -225,6 +225,8 @@ obsolete(ssl, ssl_accept, _) ->
{removed, "use filelib:find_source/1,3 instead"};
obsolete(ssl, ssl_accept, _) ->
{removed, "use ssl_handshake/1,2,3 instead"};
+obsolete(erts_alloc_config, _, _) ->
+ {deprecated, "this module will be removed in OTP 26.0. See the documentation for details", "OTP 26"};
obsolete(gen_fsm, _, _) ->
{deprecated, "use the 'gen_statem' module instead"};
obsolete(random, _, _) ->
--
2.34.1