[gcc-7] 61/354: - update patch for GCC 7

Ximin Luo infinity0 at debian.org
Thu Nov 23 15:50:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository gcc-7.

commit ba59ce78ebadb1db298c99d750113a07793df53f
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Tue Nov 29 12:24:50 2016 +0000

     - update patch for GCC 7
    
    
    git-svn-id: svn+ssh://svn.debian.org/svn/gcccvs/branches/sid/gcc-7@9154 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/patches/ada-gcc-name.diff | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/debian/patches/ada-gcc-name.diff b/debian/patches/ada-gcc-name.diff
index e031e66..f44dce7 100644
--- a/debian/patches/ada-gcc-name.diff
+++ b/debian/patches/ada-gcc-name.diff
@@ -1,4 +1,4 @@
-# DP: use gcc-6 instead of gcc as the command name.
+# DP: use gcc-7 instead of gcc as the command name.
 
 Index: b/src/gcc/ada/gnatlink.adb
 ===================================================================
@@ -9,7 +9,7 @@ Index: b/src/gcc/ada/gnatlink.adb
     --  generated file.
  
 -   Gcc : String_Access := Program_Name ("gcc", "gnatlink");
-+   Gcc : String_Access := Program_Name ("gcc-6", "gnatlink");
++   Gcc : String_Access := Program_Name ("gcc-7", "gnatlink");
  
     Read_Mode : constant String := "r" & ASCII.NUL;
  
@@ -19,7 +19,7 @@ Index: b/src/gcc/ada/gnatlink.adb
        Write_Line ("  --GCC=comp Use comp as the compiler");
 -      Write_Line ("  --LINK=nam Use 'nam' for the linking rather than 'gcc'");
 +      Write_Line ("  --LINK=nam Use 'nam' for the linking rather " &
-+                  "than 'gcc-6'");
++                  "than 'gcc-7'");
        Write_Eol;
        Write_Line ("  [non-Ada-objects]  list of non Ada object files");
        Write_Line ("  [linker-options]   other options for the linker");
@@ -34,9 +34,9 @@ Index: b/src/gcc/ada/make.adb
 -   Gcc      : String_Access := Program_Name ("gcc", "gnatmake");
 -   Gnatbind : String_Access := Program_Name ("gnatbind", "gnatmake");
 -   Gnatlink : String_Access := Program_Name ("gnatlink", "gnatmake");
-+   Gcc      : String_Access := Program_Name ("gcc-6", "gnatmake");
-+   Gnatbind : String_Access := Program_Name ("gnatbind-6", "gnatmake");
-+   Gnatlink : String_Access := Program_Name ("gnatlink-6", "gnatmake");
++   Gcc      : String_Access := Program_Name ("gcc-7", "gnatmake");
++   Gnatbind : String_Access := Program_Name ("gnatbind-7", "gnatmake");
++   Gnatlink : String_Access := Program_Name ("gnatlink-7", "gnatmake");
     --  Default compiler, binder, linker programs
  
     Globalizer : constant String := "codepeer_globalizer";
@@ -49,7 +49,7 @@ Index: b/src/gcc/ada/gnatchop.adb
     --  The name of the file holding the GNAT configuration pragmas
  
 -   Gcc : String_Access := new String'("gcc");
-+   Gcc : String_Access := new String'("gcc-6");
++   Gcc : String_Access := new String'("gcc-7");
     --  May be modified by switch --GCC=
  
     Gcc_Set : Boolean := False;
@@ -62,7 +62,7 @@ Index: b/src/gcc/ada/mdll-utl.adb
     Dlltool_Exec  : OS_Lib.String_Access;
  
 -   Gcc_Name      : constant String := "gcc";
-+   Gcc_Name      : constant String := "gcc-6";
++   Gcc_Name      : constant String := "gcc-7";
     Gcc_Exec      : OS_Lib.String_Access;
  
     Gnatbind_Name : constant String := "gnatbind";
@@ -71,7 +71,7 @@ Index: b/src/gcc/ada/mdll-utl.adb
        end if;
  
 -      Print_Command ("gcc", Arguments (1 .. A));
-+      Print_Command ("gcc-6", Arguments (1 .. A));
++      Print_Command ("gcc-7", Arguments (1 .. A));
  
        OS_Lib.Spawn (Gcc_Exec.all, Arguments (1 .. A), Success);
  
@@ -84,7 +84,7 @@ Index: b/src/gcc/ada/mlib-utl.adb
           if Gcc_Exec = null then
              if Gcc_Name = null then
 -               Gcc_Name := Osint.Program_Name ("gcc", "gnatmake");
-+               Gcc_Name := Osint.Program_Name ("gcc-6", "gnatmake");
++               Gcc_Name := Osint.Program_Name ("gcc-7", "gnatmake");
              end if;
  
              Gcc_Exec := Locate_Exec_On_Path (Gcc_Name.all);
@@ -97,7 +97,7 @@ Index: b/src/gcc/ada/prj-makr.adb
     procedure Dup2 (Old_Fd, New_Fd : File_Descriptor);
  
 -   Gcc      : constant String := "gcc";
-+   Gcc      : constant String := "gcc-6";
++   Gcc      : constant String := "gcc-7";
     Gcc_Path : String_Access := null;
  
     Non_Empty_Node : constant Project_Node_Id := 1;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-7.git



More information about the Reproducible-commits mailing list