File 0618-Update-deprecations.patch of Package erlang

From 22446ca4980d93d834a5a553515a77420a32bee8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Tue, 17 Feb 2026 13:03:21 +0100
Subject: [PATCH 3/3] Update deprecations

---
 bootstrap/lib/stdlib/ebin/otp_internal.beam | Bin 11492 -> 11496 bytes
 lib/stdlib/src/otp_internal.erl             |   8 ++++----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index dc38a8164e..c2b007f2e1 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -271,13 +271,13 @@ obsolete(filename, find_src, _) ->
 obsolete(ssl, ssl_accept, _) ->
     {removed, "use ssl:handshake/1,2,3 instead"};
 obsolete(ct_slave, _, _) ->
-    {deprecated, "use ?CT_PEER(), or the 'peer' module instead", "OTP 29"};
+    {deprecated, "use ?CT_PEER(), or the 'peer' module instead", "OTP 31"};
 obsolete(gen_fsm, _, _) ->
     {deprecated, "use the 'gen_statem' module instead"};
 obsolete(random, _, _) ->
     {deprecated, "use the 'rand' module instead"};
 obsolete(slave, _, _) ->
-    {deprecated, "use the 'peer' module instead", "OTP 29"};
+    {deprecated, "use the 'peer' module instead", "OTP 31"};
 obsolete(erts_alloc_config, _, _) ->
     {removed, "this module has as of OTP 26.0 been removed"};
 obsolete(os_mon_mib, _, _) ->
-- 
2.51.0

openSUSE Build Service is sponsored by