mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ada/gprbuild: add gcc:16 support
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
22
dev-ada/gprbuild/files/gprbuild-25.0.0-gcc16.patch
Normal file
22
dev-ada/gprbuild/files/gprbuild-25.0.0-gcc16.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
--- a/gpr/src/gpr-compilation-process.adb 2025-12-02 20:16:02.856971670 +0100
|
||||
+++ b/gpr/src/gpr-compilation-process.adb 2025-12-02 20:16:18.920776145 +0100
|
||||
@@ -41,7 +41,7 @@
|
||||
-- A set of key=value
|
||||
|
||||
package Prj_Maps is new Containers.Indefinite_Ordered_Maps
|
||||
- (String, Env_Maps.Map, Env_Maps."<", Env_Maps."=");
|
||||
+ (String, Env_Maps.Map, "<", Env_Maps."=");
|
||||
-- A set of project+language=map
|
||||
|
||||
function "<" (Left, Right : Id) return Boolean is
|
||||
--- a/gpr/src/gpr-compilation-protocol.adb 2025-12-02 20:38:54.332285274 +0100
|
||||
+++ b/gpr/src/gpr-compilation-protocol.adb 2025-12-02 20:39:35.690782208 +0100
|
||||
@@ -978,7 +978,7 @@
|
||||
Set_File_Last_Modify_Time_Stamp
|
||||
(Path_Name,
|
||||
To_Ada
|
||||
- (time_t
|
||||
+ (Long_Long_Integer
|
||||
(Conversions.To_Unix_Time
|
||||
(Time_Of
|
||||
(TS (1, 4), TS (5, 6), TS (7, 8),
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
ADA_COMPAT=( gcc_{12..15} )
|
||||
ADA_COMPAT=( gcc_{12..16} )
|
||||
PYTHON_COMPAT=( python3_{10..13} pypy3{,_11} )
|
||||
inherit ada python-any-r1 multiprocessing
|
||||
|
||||
@@ -32,7 +32,10 @@ BDEPEND="doc? (
|
||||
)"
|
||||
|
||||
REQUIRED_USE="${ADA_REQUIRED_USE}"
|
||||
PATCHES=( "${FILESDIR}"/${PN}-22.0.0-gentoo.patch )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-22.0.0-gentoo.patch
|
||||
"${FILESDIR}"/${P}-gcc16.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
|
||||
|
||||
Reference in New Issue
Block a user