Description: Tell upstream build system where to find the needed GNAT sources.
 Remove calls to the GNAT.Command_Line.Try_Help procedure
 (new in 4.10).
Author: Nicolas Boulenguez <nicolas@debian.org>
Forwarded: not-needed

--- /dev/null
+++ b/gnat_util.gpr
@@ -0,0 +1,8 @@
+--  ASIS by itself only requires gnatvsn, but some tools require
+--  gnat_util to also provide gnatprj.
+--  Note: gnatvsn is repeated in asis.gpr for dh_ada_library.
+with "gnatprj.gpr";
+with "gnatvsn.gpr";
+abstract project Gnat_Util is
+  for Source_Files use ();
+end Gnat_Util;
--- a/tools/tool_utils/asis_ul-environment.adb
+++ b/tools/tool_utils/asis_ul-environment.adb
@@ -588,7 +588,6 @@
    exception
       when Parameter_Error =>
          --  The diagnosis is already generated
-         Try_Help;
          raise Fatal_Error;
       when Fatal_Error =>
          --  The diagnosis is already generated
--- a/asis.gpr
+++ b/asis.gpr
@@ -24,6 +24,10 @@
 with "gnat_util";
 with "common";
 
+--  ASIS by itself only requires gnatvsn, and dh_ada_library needs
+--  this information right here:
+with "gnatvsn.gpr";
+
 project Asis is
 
    for Languages use ("ada");
