From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/aunit/files/, dev-ada/aunit/
Date: Wed, 5 Oct 2022 20:26:52 +0000 (UTC) [thread overview]
Message-ID: <1665001581.da72117a3e99c384babfe4db439bb5ce4bbb0855.tupone@gentoo> (raw)
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
+
next reply other threads:[~2022-10-05 20:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-05 20:26 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-01 21:46 [gentoo-commits] repo/gentoo:master commit in: dev-ada/aunit/files/, dev-ada/aunit/ Alfredo Tupone
2017-09-26 7:14 Alfredo Tupone
2017-04-26 18:33 Alfredo Tupone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1665001581.da72117a3e99c384babfe4db439bb5ce4bbb0855.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox