mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
dev-ada/aunit: add gcc_12_2_0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
28
dev-ada/aunit/files/aunit-22.0.0-redundant.patch
Normal file
28
dev-ada/aunit/files/aunit-22.0.0-redundant.patch
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user