File 6612-Update-deprecations.patch of Package erlang

From b3741d84c2e2fcf2c7985ec903fccdbb93f59103 Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Wed, 5 Apr 2023 15:06:54 +0200
Subject: [PATCH 2/3] Update deprecations

---
 lib/stdlib/src/otp_internal.erl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index 45b6d633f5..5bc0704b68 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -37,6 +37,8 @@ obsolete(crypto, crypto_dyn_iv_update, 3) ->
     {deprecated, "see the documentation for details", "OTP 27"};
 obsolete(crypto, rand_uniform, 2) ->
     {deprecated, "use rand:uniform/1 instead"};
+obsolete(dbg, stop_clear, 0) ->
+    {deprecated, "use dbg:stop/0 instead", "OTP 27"};
 obsolete(disk_log, inc_wrap_file, 1) ->
     {deprecated, "use disk_log:next_file/1 instead", "OTP 28"};
 obsolete(erlang, now, 0) ->
-- 
2.35.3

openSUSE Build Service is sponsored by