File 0228-Update-deprecations.patch of Package erlang

From 09d05c43a02253215c2fd5c400e9e7a28d2f159e Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Wed, 19 Jan 2022 08:16:25 +0100
Subject: [PATCH 2/2] Update deprecations

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

diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index fed37f3953..2332df5315 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -246,9 +246,9 @@ obsolete(erlang, hash, 2) ->
 obsolete(httpd_conf, check_enum, 2) ->
     {removed, "use lists:member/2 instead"};
 obsolete(httpd_conf, clean, 1) ->
-    {removed, "use sting:strip/1 instead or possibly the re module"};
+    {removed, "use string:strip/1 instead or possibly the re module"};
 obsolete(httpd_conf, custom_clean, 3) ->
-    {removed, "use sting:strip/1 instead or possibly the re module"};
+    {removed, "use string:strip/1 instead or possibly the re module"};
 obsolete(httpd_conf, is_directory, 1) ->
     {removed, "use filelib:is_dir/1 instead"};
 obsolete(httpd_conf, is_file, 1) ->
-- 
2.31.1

openSUSE Build Service is sponsored by