The unified diff between revisions [1a17ca5c..] and [ab242a05..] is displayed below. It can also be downloaded as a raw diff.

#
#
# add_file "debian/bug_571013.adb"
#  content [99f39dd551b95a94e86488ee73df013a94ef2c35]
#
# add_file "debian/bug_571013.gpr"
#  content [467c50aed9f18a085d3770fe15034701a95e734a]
#
# patch "debian/README.source"
#  from [4660cae790561bfc35051f46828935e5a8a279b9]
#    to [2788a29c2e22a6d8fca1553a588059915c8a9e62]
#
# patch "debian/aunit_example.adb"
#  from [96f7db307ab942d65d8555ecd766cf7ca01cb8b8]
#    to [876d6f5c5081b56f1635e178e11d731230f3a42d]
#
# patch "debian/changelog"
#  from [478f139cbaa720dfae5ead6d469044d52d826c6f]
#    to [aa01126d6aaf66acdd63602081e467de603f2687]
#
# patch "debian/control"
#  from [1b75d62ef6d63239f3ab6f09f2b4ec4e88384790]
#    to [5a39b8a6881a3cdc62b38aba6235b6a84df9d8d9]
#
# patch "debian/gprbuild_build.gpr"
#  from [22c5042a7bb0607e47a1b7350654fe30499d8fa8]
#    to [944786312bc429728cad2c05166a8cf33ad0da8c]
#
# patch "debian/patches/version.patch"
#  from [b4d5136e61b0ea22119c54827c7c0043abb03e6d]
#    to [ecb23a196b63c141df6f9700e83e62de33bb202b]
#
============================================================
--- debian/bug_571013.adb	99f39dd551b95a94e86488ee73df013a94ef2c35
+++ debian/bug_571013.adb	99f39dd551b95a94e86488ee73df013a94ef2c35
@@ -0,0 +1,5 @@
+with Gdk.Event;
+procedure Bug_571013 is
+begin
+   null;
+end Bug_571013;
============================================================
--- debian/bug_571013.gpr	467c50aed9f18a085d3770fe15034701a95e734a
+++ debian/bug_571013.gpr	467c50aed9f18a085d3770fe15034701a95e734a
@@ -0,0 +1,10 @@
+with "gtkada2";
+project Bug_571013 is
+  for Main use ("bug_571013.adb");
+  package Builder is
+     for Default_Switches ("Ada") use
+       (
+        "-s"                      --  recompile if flags changed
+       );
+  end Builder;
+end Bug_571013;
============================================================
--- debian/README.source	4660cae790561bfc35051f46828935e5a8a279b9
+++ debian/README.source	2788a29c2e22a6d8fca1553a588059915c8a9e62
@@ -40,7 +40,8 @@ Debian upload number:
 In addition, we patch the gprbuild version string to include the
 Debian upload number:

-../gnat/gpr_version.ads
+../gnat/gnatvsn.ads
+../src/gpr_version.ads

 All of the above changes are in a quilt patch; be sure to refresh the
 correct ones.
============================================================
--- debian/aunit_example.adb	96f7db307ab942d65d8555ecd766cf7ca01cb8b8
+++ debian/aunit_example.adb	876d6f5c5081b56f1635e178e11d731230f3a42d
@@ -23,7 +23,6 @@ with AUnit.Test_Suites; use AUnit.Test_S
 with AUnit.Assertions;
 with AUnit.Test_Results.Text_Reporter;
 with AUnit.Test_Suites; use AUnit.Test_Suites;
-with AUnit.Test_Results;
 with Example_Test;
 procedure Aunit_Example
 is
============================================================
--- debian/changelog	478f139cbaa720dfae5ead6d469044d52d826c6f
+++ debian/changelog	aa01126d6aaf66acdd63602081e467de603f2687
@@ -1,3 +1,9 @@
+gprbuild (1.2.0-5) unstable; urgency=low
+
+  * debian/control (Architecture): change to any for bug #568437
+
+ -- Stephen Leake <stephen_leake@stephe-leake.org>  Sun, 28 Feb 2010 08:02:29 -0500
+
 gprbuild (1.2.0-4) unstable; urgency=low

   * control (Standards-Version): bump to 3.8.4
============================================================
--- debian/control	1b75d62ef6d63239f3ab6f09f2b4ec4e88384790
+++ debian/control	5a39b8a6881a3cdc62b38aba6235b6a84df9d8d9
@@ -11,7 +11,7 @@ Section: devel

 Package: gprbuild
 Section: devel
-Architecture: amd64 hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel ppc64 powerpc sparc s390
+Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: gnat-4.4, g++-4.4, gcc-4.4, gfortran-4.4, gprbuild-doc
 Description: a multi-language extensible build tool
============================================================
--- debian/gprbuild_build.gpr	22c5042a7bb0607e47a1b7350654fe30499d8fa8
+++ debian/gprbuild_build.gpr	944786312bc429728cad2c05166a8cf33ad0da8c
@@ -1,6 +1,22 @@
+--  Copyright (c) 2009 Stephen Leake <stephen_leake@stephe-leake.org>
+--
+--  This program is free software; you can redistribute it and/or modify
+--  it under the terms of the GNU General Public License as published by
+--  the Free Software Foundation; either version 2 of the License, or
+--  (at your option) any later version.
+--
+--  This program is distributed in the hope that it will be useful,
+--  but WITHOUT ANY WARRANTY; without even the implied warranty of
+--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+--  GNU General Public License for more details.
+
+--  Build the gprbuild package; just executables, no libraries
 with "xmlada";
 project Gprbuild_Build is

+   -- The GNAT sources contained in ../gnat are also packaged in
+   --  libgnatprj and libgnatvsn, but those versions are not
+   --  compatible with this (due to upstream policies).
    for Source_Dirs use ("../src", "../gnat");

    for Main use
@@ -28,6 +44,7 @@ project Gprbuild_Build is
          "-gnaty",
          "-gnatwaCJI",
          "-O2",
+         "-g",
          "-gnatpn",
          "-gnatws");
    end Compiler;
============================================================
--- debian/patches/version.patch	b4d5136e61b0ea22119c54827c7c0043abb03e6d
+++ debian/patches/version.patch	ecb23a196b63c141df6f9700e83e62de33bb202b
@@ -1,13 +1,35 @@ Index: gprbuild-1.2.0/src/gpr_version.ad
 Index: gprbuild-1.2.0/src/gpr_version.ads
 ===================================================================
---- gprbuild-1.2.0.orig/src/gpr_version.ads	2010-01-31 06:01:05.000000000 -0500
-+++ gprbuild-1.2.0/src/gpr_version.ads	2010-01-31 06:01:12.000000000 -0500
+--- gprbuild-1.2.0.orig/src/gpr_version.ads	2010-02-28 05:15:35.000000000 -0500
++++ gprbuild-1.2.0/src/gpr_version.ads	2010-02-28 08:16:53.000000000 -0500
 @@ -37,7 +37,7 @@

  package GPR_Version is

 -   Gpr_Version : constant String := "1.2.0w";
-+   Gpr_Version : constant String := "1.2.0w (Debian 1.2.0-3)";
++   Gpr_Version : constant String := "1.2.0w (Debian 1.2.0-5)";
     --  Static string identifying this version

     function Gpr_Version_String return String;
+Index: gprbuild-1.2.0/gnat/gnatvsn.ads
+===================================================================
+--- gprbuild-1.2.0.orig/gnat/gnatvsn.ads	2010-02-28 08:15:12.000000000 -0500
++++ gprbuild-1.2.0/gnat/gnatvsn.ads	2010-02-28 08:15:40.000000000 -0500
+@@ -37,7 +37,7 @@
+
+ package Gnatvsn is
+
+-   Gnat_Static_Version_String : constant String := "2008 (20080521)";
++   Gnat_Static_Version_String : constant String := "2008 (Debian 1.2.0-5)";
+    --  Static string identifying this version, that can be used as an argument
+    --  to e.g. pragma Ident.
+    --
+@@ -54,7 +54,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