commit: 96ae78b9e81026b99a058897ee5306e565e4d4ad
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 14 18:22:26 2017 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 18:22:26 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ae78b9
dev-ada/gprbuild: Really add /usr/share/gpr in front of the path
Package-Manager: Portage-2.3.8, Repoman-2.3.3
dev-ada/gprbuild/files/gprbuild-2016-gentoo.patch | 25 +++++++++--------------
dev-ada/gprbuild/files/gprbuild-2017-gentoo.patch | 23 ++++++++-------------
2 files changed, 19 insertions(+), 29 deletions(-)
diff --git a/dev-ada/gprbuild/files/gprbuild-2016-gentoo.patch
b/dev-ada/gprbuild/files/gprbuild-2016-gentoo.patch
index 53cc4df8a30..d54c8da0019 100644
--- a/dev-ada/gprbuild/files/gprbuild-2016-gentoo.patch
+++ b/dev-ada/gprbuild/files/gprbuild-2016-gentoo.patch
@@ -214,19 +214,14 @@ diff -Naur
gprbuild-gpl-2016-src.old/src/gprinstall-sigint_intercepted.ads gprbu
package Binder is
make BUILDER="$(BUILDER)" BUILD="$(BUILD)"
---- gprbuild-gpl-2016-src/gpr/src/gpr-conf.adb.old 2017-09-12
21:29:25.945747949 +0200
-+++ gprbuild-gpl-2016-src/gpr/src/gpr-conf.adb 2017-09-12 21:35:16.299101715
+0200
-@@ -1932,6 +1932,13 @@
- end if;
- end if;
-
-+ Compiler_Root := First_Compiler_Root;
-+ First_Compiler_Root :=
-+ new Compiler_Root_Data'
-+ (Root => new String'("/usr"),
-+ Runtimes => null,
-+ Next => Compiler_Root);
-+
- -- Reorder the compiler roots in the PATH order
+--- gprbuild-gpl-2016-src/gpr/src/gpr-env.adb.old 2017-11-13
22:16:53.349083426 +0100
++++ gprbuild-gpl-2016-src/gpr/src/gpr-env.adb 2017-11-13 22:17:22.692590351
+0100
+@@ -1948,6 +1948,8 @@
+
+ end if;
- if First_Compiler_Root /= null
++ Add_Directories (Self, "/usr/share/gpr");
++
+ if Gpr_Prj_Path.all /= "" then
+ Add_Directories (Self, Gpr_Prj_Path.all);
+ end if;
diff --git a/dev-ada/gprbuild/files/gprbuild-2017-gentoo.patch
b/dev-ada/gprbuild/files/gprbuild-2017-gentoo.patch
index fb494aeaafc..57b3bfe213e 100644
--- a/dev-ada/gprbuild/files/gprbuild-2017-gentoo.patch
+++ b/dev-ada/gprbuild/files/gprbuild-2017-gentoo.patch
@@ -21,19 +21,14 @@
end if;
end if;
---- gprbuild-17.0/gpr/src/gpr-conf.adb.old 2017-05-17 14:40:26.000000000
+0200
-+++ gprbuild-17.0/gpr/src/gpr-conf.adb 2017-11-10 22:44:38.482432592 +0100
-@@ -1932,6 +1932,13 @@
- end if;
- end if;
+--- gprbuild-gpl-2016-src/gpr/src/gpr-env.adb.old 2017-11-13
22:16:53.349083426 +0100
++++ gprbuild-gpl-2016-src/gpr/src/gpr-env.adb 2017-11-13 22:17:22.692590351
+0100
+@@ -1948,6 +1948,8 @@
-+ Compiler_Root := First_Compiler_Root;
-+ First_Compiler_Root :=
-+ new Compiler_Root_Data'
-+ (Root => new String'("/usr"),
-+ Runtimes => null,
-+ Next => Compiler_Root);
-+
- -- Reorder the compiler roots in the PATH order
+ end if;
- if First_Compiler_Root /= null
++ Add_Directories (Self, "/usr/share/gpr");
++
+ if Gpr_Prj_Path.all /= "" then
+ Add_Directories (Self, Gpr_Prj_Path.all);
+ end if;