~ubuntu-branches/debian/jessie/adabrowse/jessie

« back to all changes in this revision

Viewing changes to debian/patches/01-gnatmake.patch

  • Committer: Bazaar Package Importer
  • Author(s): Adrian-Ken Rueegsegger
  • Date: 2009-11-26 20:53:44 UTC
  • Revision ID: james.westby@ubuntu.com-20091126205344-73yq3et8xdsefah0
Tags: 4.0.3-3
* Add Vcs-Browser and Vcs-Git entries.
* Remove list of architectures (Closes: #525270, #542411).
* Remove redundant build dependency for gnat.
* Bump Standards-Version to 3.8.3.
* Add README.source file.
* Rebuild with latest GNAT and ASIS.
* Use $(QUILT_STAMPFN) instead of patch target.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Ludovic Brenta <lbrenta@debian.org>
 
2
Description: Make sure never to call the "gnat" command, just "gnatmake" or "gnatgcc".
 
3
 
 
4
diff -Naurp adabrowse.orig/ad-driver.adb adabrowse/ad-driver.adb
 
5
--- adabrowse.orig/ad-driver.adb        2009-02-24 21:17:01.000000000 +0100
 
6
+++ adabrowse/ad-driver.adb     2009-02-24 21:17:46.000000000 +0100
 
7
@@ -660,7 +660,7 @@ package body AD.Driver is
 
8
          --  it needs (configuration pragmas, naming schemes, etc.)
 
9
          --     Note: we also pass on -X options!
 
10
          AD.Compiler.Set_Compile_Command
 
11
-           ("gnat compile -c -gnatc -gnatt -P" &
 
12
+           ("gnatmake -c -gnatc -gnatt -P" &
 
13
             AD.Projects.Get_Project_File_Name &
 
14
             ASU.To_String (Pass_On_Options));
 
15
       end if;
 
16
diff -Naurp adabrowse.orig/ad-projects.ads adabrowse/ad-projects.ads
 
17
--- adabrowse.orig/ad-projects.ads      2009-02-24 21:17:01.000000000 +0100
 
18
+++ adabrowse/ad-projects.ads   2009-02-24 21:17:46.000000000 +0100
 
19
@@ -75,9 +75,10 @@ package AD.Projects is
 
20
    --  specified and no "-f" option is given, AdaBrowse will process all specs
 
21
    --  from the source files of the root project.
 
22
    --
 
23
-   --  Warning: if a project file is given, the compile command is changed to
 
24
-   --  "gnat compile -P<file_name>", if it starts with the default compiler
 
25
-   --  name (which is "gcc" -- or "gnatgcc" on some Linux installations.)
 
26
+   --  Warning: if a project file is given, the compile command is
 
27
+   --  changed to "gnatmake -c -gnatc -gnatt -P<file_name>", if it
 
28
+   --  starts with the default compiler name (which is "gcc" -- or
 
29
+   --  "gnatgcc" on some Linux installations.)
 
30
    --
 
31
    --  The AdaBrowse currently doesn't handle the other project-related
 
32
    --  switches of GNAT tools, i.e. "-X" and "-vP". To define values for