From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1443836-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 472CB158094
	for <garchives@archives.gentoo.org>; Wed,  5 Oct 2022 20:26:56 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2BBE5E08E0;
	Wed,  5 Oct 2022 20:26:55 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 142D8E08E0
	for <gentoo-commits@lists.gentoo.org>; Wed,  5 Oct 2022 20:26:54 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E479A33BECE
	for <gentoo-commits@lists.gentoo.org>; Wed,  5 Oct 2022 20:26:53 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 208755D4
	for <gentoo-commits@lists.gentoo.org>; Wed,  5 Oct 2022 20:26:52 +0000 (UTC)
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" <tupone@gentoo.org>
Message-ID: <1665001581.da72117a3e99c384babfe4db439bb5ce4bbb0855.tupone@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/aunit/files/, dev-ada/aunit/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ada/aunit/aunit-22.0.0.ebuild dev-ada/aunit/files/aunit-22.0.0-redundant.patch
X-VCS-Directories: dev-ada/aunit/files/ dev-ada/aunit/
X-VCS-Committer: tupone
X-VCS-Committer-Name: Alfredo Tupone
X-VCS-Revision: da72117a3e99c384babfe4db439bb5ce4bbb0855
X-VCS-Branch: master
Date: Wed,  5 Oct 2022 20:26:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e7721aac-36a4-4531-bd10-34779beb3a50
X-Archives-Hash: b5ff835e31a36b7ebbe6b0cc995217b4

commit:     da72117a3e99c384babfe4db439bb5ce4bbb0855
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  5 20:26:21 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Oct  5 20:26:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da72117a

dev-ada/aunit: add gcc_12_2_0

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

 dev-ada/aunit/aunit-22.0.0.ebuild                |  9 +++++---
 dev-ada/aunit/files/aunit-22.0.0-redundant.patch | 28 ++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 3 deletions(-)

diff --git a/dev-ada/aunit/aunit-22.0.0.ebuild b/dev-ada/aunit/aunit-22.0.0.ebuild
index 78a102da278f..f4f6f8098704 100644
--- a/dev-ada/aunit/aunit-22.0.0.ebuild
+++ b/dev-ada/aunit/aunit-22.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-ADA_COMPAT=( gnat_202{0..1} )
+ADA_COMPAT=( gnat_202{0..1} gcc_12_2_0 )
 inherit ada multiprocessing
 
 DESCRIPTION="Ada unit testing framework"
@@ -22,7 +22,10 @@ DEPEND="${RDEPEND}
 
 REQUIRED_USE="${ADA_REQUIRED_USE}"
 
-PATCHES=( "${FILESDIR}"/${PN}-2016-gentoo.patch )
+PATCHES=(
+	"${FILESDIR}"/${PN}-2016-gentoo.patch
+	"${FILESDIR}"/${P}-redundant.patch
+)
 
 src_compile() {
 	emake GPRBUILD="gprbuild -j$(makeopts_jobs) -v"

diff --git a/dev-ada/aunit/files/aunit-22.0.0-redundant.patch b/dev-ada/aunit/files/aunit-22.0.0-redundant.patch
new file mode 100644
index 000000000000..d22bb4a572ec
--- /dev/null
+++ b/dev-ada/aunit/files/aunit-22.0.0-redundant.patch
@@ -0,0 +1,28 @@
+From 7372e83edf47cf26dc64a49850b6fd80aaea5495 Mon Sep 17 00:00:00 2001
+From: Vasiliy Fofanov <fofanov@adacore.com>
+Date: Mon, 13 Dec 2021 18:54:17 +0100
+Subject: [PATCH] Remove redundant "with" of parent unit
+
+This fixes a warning raised by recent GNAT toolchains.
+
+TN: UC13-054
+---
+ test/src/aunit-test_suites-tests.ads | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/test/src/aunit-test_suites-tests.ads b/test/src/aunit-test_suites-tests.ads
+index 0d3ea33..377c0c3 100644
+--- a/test/src/aunit-test_suites-tests.ads
++++ b/test/src/aunit-test_suites-tests.ads
+@@ -1,10 +1,9 @@
+ --
+---  Copyright (C) 2009-2010, AdaCore
++--  Copyright (C) 2009-2021, AdaCore
+ --
+ 
+ with AUnit.Test_Fixtures;
+ with AUnit.Test_Results;
+-with AUnit.Test_Suites;
+ 
+ package AUnit.Test_Suites.Tests is
+