File: use_ada_packaged_libraries.diff

package info (click to toggle)
gprbuild 2015-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,228 kB
  • ctags: 67
  • sloc: ada: 27,214; xml: 4,127; makefile: 337; sh: 227; cpp: 89; fortran: 62; ansic: 37
file content (19 lines) | stat: -rw-r--r-- 596 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Avoid using the code shared with GNAT.
 Use libgnatprj and libgnatvsn instead.
 .
 The Gnatvsn.Build_Type enumerated type does not, and will probably
 never, include the Gnat_Pro value in GCC.
Author: Nicolas Boulenguez <nicolas@debian.org>
Forwarded: not-needed

--- a/src/gpr_version.adb
+++ b/src/gpr_version.adb
@@ -66,8 +66,6 @@
       end loop Last_Loop;
 
       case Build_Type is
-         when Gnatpro =>
-            return "Pro " & Gpr_Version & " " & Date & Host;
          when GPL =>
             return "GPL " & Gpr_Version & " " & Date & Host;
          when FSF =>