File 0852-Remove-package-support-from-ms_transform.patch of Package erlang

From dddeb84187ddf7febbf407ece8d90cae854fd378 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A9ter=20G=C3=B6m=C3=B6ri?= <gomoripeti@gmail.com>
Date: Sun, 16 Feb 2020 00:16:25 +0100
Subject: [PATCH] Remove package support from ms_transform

---
 lib/stdlib/src/ms_transform.erl | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/stdlib/src/ms_transform.erl b/lib/stdlib/src/ms_transform.erl
index 74efe5c513..2114b17a79 100644
--- a/lib/stdlib/src/ms_transform.erl
+++ b/lib/stdlib/src/ms_transform.erl
@@ -356,11 +356,6 @@ clause({clause,Line,H0,G0,B0},Bound) ->
 copy({call,Line,{remote,_Line2,{atom,_Line3,ets},{atom,_Line4,fun2ms}},
       As0},Bound) ->
     {transform_call(ets,Line,As0,Bound),Bound};
-copy({call,Line,{remote,_Line2,{record_field,_Line3,
-                                {atom,_Line4,''},{atom,_Line5,ets}},
-                 {atom,_Line6,fun2ms}}, As0},Bound) ->
-    %% Packages...
-    {transform_call(ets,Line,As0,Bound),Bound};
 copy({call,Line,{remote,_Line2,{atom,_Line3,dbg},{atom,_Line4,fun2ms}},
       As0},Bound) ->
     {transform_call(dbg,Line,As0,Bound),Bound};
-- 
2.16.4

openSUSE Build Service is sponsored by