File 3092-Update-deprecations.patch of Package erlang

From 5821f7495c67111d660115baa10c06a031f09816 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Fri, 27 Jan 2023 13:26:14 +0100
Subject: [PATCH 2/2] Update deprecations

---
 bootstrap/lib/stdlib/ebin/otp_internal.beam | Bin 5932 -> 5996 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 3afbbfb881..bc1c880d4f 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -51,6 +51,8 @@ obsolete(erlang, now, 0) ->
     {deprecated, "see the \"Time and Time Correction in Erlang\" chapter of the ERTS User's Guide for more information"};
 obsolete(erlang, phash, 2) ->
     {deprecated, "use erlang:phash2/2 instead"};
+obsolete(file, pid2name, 1) ->
+    {deprecated, "this functionality is no longer supported", "OTP 27"};
 obsolete(ftp, start_service, 1) ->
     {deprecated, "use ftp:open/2 instead", "OTP 26"};
 obsolete(ftp, stop_service, 1) ->
-- 
2.35.3

openSUSE Build Service is sponsored by