Description: search projects in /usr/share/ada/adainclude Debian path
 The hardcoded /usr/share/gpr makes sense, and we should probably drop
 this patch once all packaged libraries have been updated.
Author: Nicolas Boulenguez <nicolas@debian.org>
Forwarded: not-needed

--- a/src/gprbuild-main.adb
+++ b/src/gprbuild-main.adb
@@ -1711,6 +1711,9 @@
       Prj.Env.Initialize_Default_Project_Path
         (Root_Environment.Project_Path, Target_Name => "-");
 
+      Prj.Env.Add_Directories (Root_Environment.Project_Path,
+                               "/usr/share/ada/adainclude");
+
       --  If --display-paths was specified, display the config and the user
       --  project paths and exit.
 
--- a/src/gprclean-main.adb
+++ b/src/gprclean-main.adb
@@ -671,6 +671,9 @@
    Prj.Env.Initialize_Default_Project_Path
      (Root_Environment.Project_Path, Target_Name => "-");
 
+   Prj.Env.Add_Directories (Root_Environment.Project_Path,
+                            "/usr/share/ada/adainclude");
+
    if Load_Standard_Base then
       Parse_Knowledge_Base (Project_Tree);
    end if;
--- a/src/gprinstall-main.adb
+++ b/src/gprinstall-main.adb
@@ -561,6 +561,9 @@
       Prj.Env.Initialize_Default_Project_Path
         (Root_Environment.Project_Path, Target_Name => "-");
 
+      Prj.Env.Add_Directories (Root_Environment.Project_Path,
+                               "/usr/share/ada/adainclude");
+
       if Opt.Verbose_Mode then
          Copyright;
       end if;
