dev-ada/gprbuild: fix NULL DT_RUNPATH

Closes: https://bugs.gentoo.org/834701
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2022-03-19 23:06:55 +01:00
parent e1b16f8931
commit f0ab2fe76d
3 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/gpr/src/gpr-util.adb 2022-03-19 22:41:32.372348082 +0100
+++ b/gpr/src/gpr-util.adb 2022-03-19 22:41:54.325010633 +0100
@@ -3634,7 +3634,7 @@
end if;
end loop;
- return Ret;
+ return Ret(1 .. Length - Separator'Length);
end;
end Concat_Paths;

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-nm.patch
"${FILESDIR}"/${PN}-22.0.0-ar.patch
"${FILESDIR}"/${P}-runpath.patch
)
src_prepare() {

View File

@@ -32,6 +32,7 @@ PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-nm.patch
"${FILESDIR}"/${P}-ar.patch
"${FILESDIR}"/${PN}-2021-runpath.patch
)
src_prepare() {