gprbuild (1.3.0-2) sdefault.patch

Summary

 gnat/sdefault.adb |   46 +---------------------------------------------
 1 file changed, 1 insertion(+), 45 deletions(-)

    
download this patch

Patch contents

Description: sdefault.adb is overwritten by rules, with arch specific values.
 We patch it here first, to avoid a warning from dpkg-source about changes.
Author: Stephen Leake <stephen_leake@stephe-leake.org>
Forwarded: not-needed

Index: gprbuild-1.3.0/gnat/sdefault.adb
===================================================================
--- gprbuild-1.3.0.orig/gnat/sdefault.adb	2010-03-09 06:59:52.000000000 -0500
+++ gprbuild-1.3.0/gnat/sdefault.adb	2010-03-09 07:00:21.000000000 -0500
@@ -1,45 +1 @@
-------------------------------------------------------------------------------
---                                                                          --
---                         GNAT COMPILER COMPONENTS                         --
---                                                                          --
---                             S D E F A U L T                                 --
---                                                                          --
---                                 B o d y                                  --
---                                                                          --
---          Copyright (C) 2006-2007, Free Software Foundation, Inc.         --
---                                                                          --
--- GNAT is free software;  you can  redistribute it  and/or modify it under --
--- terms of the  GNU General Public License as published  by the Free Soft- --
--- ware  Foundation;  either version 2,  or (at your option) any later ver- --
--- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
--- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
--- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
--- for  more details.  You should have  received  a copy of the GNU General --
--- Public License  distributed with GNAT;  see file COPYING.  If not, write --
--- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
--- Boston, MA 02110-1301, USA.                                              --
---                                                                          --
--- GNAT was originally developed  by the GNAT team at  New York University. --
--- Extensive contributions were provided by Ada Core Technologies Inc.      --
---                                                                          --
-------------------------------------------------------------------------------
---  dummy package body for the sake of gprbuild
-
-package body Sdefault is
-   function Include_Dir_Default_Name return String_Ptr is
-   begin
-      return null;
-   end Include_Dir_Default_Name;
-   function Object_Dir_Default_Name return String_Ptr is
-   begin
-      return null;
-   end Object_Dir_Default_Name;
-   function Target_Name return String_Ptr is
-   begin
-      return null;
-   end Target_Name;
-   function Search_Dir_Prefix return String_Ptr is
-   begin
-      return null;
-   end Search_Dir_Prefix;
-end Sdefault;
+--  will be overwritten by rules, with an arch-specific body