File 0715-asn1-Don-t-pass-on-the-undec_rest-option-to-the-Erla.patch of Package erlang

From 54161df2289999673b290aa62cb1a634fc27afec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Thu, 5 Sep 2024 09:59:10 +0200
Subject: [PATCH] asn1: Don't pass on the undec_rest option to the Erlang
 compiler

Closes #8779
---
 lib/asn1/src/asn1ct.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/asn1/src/asn1ct.erl b/lib/asn1/src/asn1ct.erl
index 69bd72e69b..c3badfdf0e 100644
--- a/lib/asn1/src/asn1ct.erl
+++ b/lib/asn1/src/asn1ct.erl
@@ -1382,7 +1382,7 @@ is_asn1_flag(no_ok_wrapper) -> true;
 is_asn1_flag(optimize) -> true;
 is_asn1_flag(per) -> true;
 is_asn1_flag({record_name_prefix,_}) -> true;
-is_asn1_flag(undec_rec) -> true;
+is_asn1_flag(undec_rest) -> true;
 is_asn1_flag(uper) -> true;
 is_asn1_flag(verbose) -> true;
 %% 'warnings_as_errors' is intentionally passed through to the compiler.
-- 
2.43.0

openSUSE Build Service is sponsored by