File: version.patch

package info (click to toggle)
gprbuild 2011-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 10,396 kB
  • sloc: ada: 94,726; sh: 2,818; xml: 2,225; makefile: 471; ansic: 240; cpp: 89; fortran: 62; asm: 27
file content (33 lines) | stat: -rw-r--r-- 1,295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Description:patch gprbuild version string to indicate Debian upload
 . 
 also patch Build_Type to FSF, since that affects copyright, bug report,
 and warranty notices.
Author: Stephen Leake <stephen_leake@stephe-leake.org>
Forwarded: not-needed

Index: gprbuild-2011/src/gpr_version.ads
===================================================================
--- gprbuild-2011.orig/src/gpr_version.ads	2011-04-19 06:05:49.000000000 -0400
+++ gprbuild-2011/src/gpr_version.ads	2011-07-17 20:17:08.000000000 -0400
@@ -36,7 +36,7 @@
 
 package GPR_Version is
 
-   Gpr_Version: constant String := "2011";
+   Gpr_Version: constant String := "2011 (Debian 2011-1)";
    --  Static string identifying this version
 
    function Gpr_Version_String return String;
Index: gprbuild-2011/gnat/gnatvsn.ads
===================================================================
--- gprbuild-2011.orig/gnat/gnatvsn.ads	2011-04-19 06:05:48.000000000 -0400
+++ gprbuild-2011/gnat/gnatvsn.ads	2011-07-17 20:17:06.000000000 -0400
@@ -51,7 +51,7 @@
    type Gnat_Build_Type is (Gnatpro, FSF, GPL);
    --  See Get_Gnat_Build_Type below for the meaning of these values
 
-   Build_Type : constant Gnat_Build_Type := GPL;
+   Build_Type : constant Gnat_Build_Type := FSF;
    --  Kind of GNAT Build:
    --
    --    FSF