File 5342-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
@@ -483,6 +483,8 @@ obsolete(ssl, ssl_accept, _) ->
     {deprecated, "use filelib:find_source/1,3 instead", "OTP 24"};
 obsolete(ssl, ssl_accept, _) ->
     {deprecated, "use ssl_handshake/1,2,3 instead", "OTP 24"};
+obsolete(erts_alloc_config, _, _) ->
+    {deprecated, "this module will be removed in OTP 26.0. See the documentation for details", "OTP 26"};
 obsolete(asn1ct, decode, _) ->
     {removed, "use Mod:decode/2 instead"};
 obsolete(asn1ct, encode, _) ->
-- 
2.34.1

openSUSE Build Service is sponsored by