commit:     73d1074b0f3a670516ce5ca07e1ae4b2fa93d230
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat May 29 13:38:36 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat May 29 13:38:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d1074b

eclass: ada.eclass add gnat_2021

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 eclass/ada.eclass | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 2e409fd9305..0c658368b52 100644
--- a/eclass/ada.eclass
+++ b/eclass/ada.eclass
@@ -58,7 +58,7 @@ EXPORT_FUNCTIONS pkg_setup
 # @DESCRIPTION:
 # All supported Ada implementations, most preferred last.
 _ADA_ALL_IMPLS=(
-       gnat_2016 gnat_2017 gnat_2018 gnat_2019 gnat_2020
+       gnat_2016 gnat_2017 gnat_2018 gnat_2019 gnat_2020 gnat_2021
 )
 readonly _ADA_ALL_IMPLS
 
@@ -86,7 +86,7 @@ _ada_impl_supported() {
                gnat_201[6789])
                        return 0
                        ;;
-               gnat_2020)
+               gnat_202[01])
                        return 0
                        ;;
                *)
@@ -184,7 +184,7 @@ ada_export() {
                        impl=${1}
                        shift
                        ;;
-               gnat_2020)
+               gnat_202[01])
                        impl=${1}
                        shift
                        ;;
@@ -214,6 +214,9 @@ ada_export() {
                gnat_2020)
                        gcc_pv=9.3.1
                        ;;
+               gnat_2021)
+                       gcc_pv=10.3.1
+                       ;;
                *)
                        gcc_pv="9.9.9"
                        ;;

Reply via email to