port patches from 3.3.5: rename gcc, use mkstemp.
This commit is contained in:
parent
72701a1d1e
commit
d1e02fd45f
12
lang/gcc/4.0/patches/patch-gcc_ada_adaint_c
Normal file
12
lang/gcc/4.0/patches/patch-gcc_ada_adaint_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_ada_adaint_c,v 1.1 2005/01/07 03:30:41 espie Exp $
|
||||
--- gcc/ada/adaint.c.orig Fri Jan 7 04:27:01 2005
|
||||
+++ gcc/ada/adaint.c Fri Jan 7 04:27:29 2005
|
||||
@@ -685,7 +685,7 @@ __gnat_open_new_temp (char *path, int fm
|
||||
|
||||
strcpy (path, "GNAT-XXXXXX");
|
||||
|
||||
-#if (defined (__FreeBSD__) || defined (linux)) && !defined (__vxworks)
|
||||
+#if (defined (__FreeBSD__) || defined (__OpenBSD__) || defined (linux)) && !defined (__vxworks)
|
||||
return mkstemp (path);
|
||||
#elif defined (__Lynx__)
|
||||
mktemp (path);
|
12
lang/gcc/4.0/patches/patch-gcc_ada_gnatchop_adb
Normal file
12
lang/gcc/4.0/patches/patch-gcc_ada_gnatchop_adb
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_ada_gnatchop_adb,v 1.1 2005/01/07 03:30:41 espie Exp $
|
||||
--- gcc/ada/gnatchop.adb.orig Fri Jan 7 04:27:39 2005
|
||||
+++ gcc/ada/gnatchop.adb Fri Jan 7 04:27:47 2005
|
||||
@@ -43,7 +43,7 @@ procedure Gnatchop is
|
||||
Config_File_Name : constant String_Access := new String'("gnat.adc");
|
||||
-- The name of the file holding the GNAT configuration pragmas
|
||||
|
||||
- Gcc : String_Access := new String'("gcc");
|
||||
+ Gcc : String_Access := new String'("egcc");
|
||||
-- May be modified by switch --GCC=
|
||||
|
||||
Gcc_Set : Boolean := False;
|
12
lang/gcc/4.0/patches/patch-gcc_ada_gnatlink_adb
Normal file
12
lang/gcc/4.0/patches/patch-gcc_ada_gnatlink_adb
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_ada_gnatlink_adb,v 1.1 2005/01/07 03:30:41 espie Exp $
|
||||
--- gcc/ada/gnatlink.adb.orig Fri Jan 7 04:27:56 2005
|
||||
+++ gcc/ada/gnatlink.adb Fri Jan 7 04:28:03 2005
|
||||
@@ -123,7 +123,7 @@ procedure Gnatlink is
|
||||
-- This table collects the arguments to be passed to compile the binder
|
||||
-- generated file.
|
||||
|
||||
- Gcc : String_Access := Program_Name ("gcc");
|
||||
+ Gcc : String_Access := Program_Name ("egcc");
|
||||
|
||||
Read_Mode : constant String := "r" & ASCII.Nul;
|
||||
|
12
lang/gcc/4.0/patches/patch-gcc_ada_make_adb
Normal file
12
lang/gcc/4.0/patches/patch-gcc_ada_make_adb
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_ada_make_adb,v 1.1 2005/01/07 03:30:41 espie Exp $
|
||||
--- gcc/ada/make.adb.orig Fri Jan 7 04:28:13 2005
|
||||
+++ gcc/ada/make.adb Fri Jan 7 04:28:31 2005
|
||||
@@ -577,7 +577,7 @@ package body Make is
|
||||
-- Compiler, Binder & Linker Data and Subprograms --
|
||||
----------------------------------------------------
|
||||
|
||||
- Gcc : String_Access := Program_Name ("gcc");
|
||||
+ Gcc : String_Access := Program_Name ("egcc");
|
||||
Gnatbind : String_Access := Program_Name ("gnatbind");
|
||||
Gnatlink : String_Access := Program_Name ("gnatlink");
|
||||
-- Default compiler, binder, linker programs
|
12
lang/gcc/4.0/patches/patch-gcc_ada_mlib-utl_adb
Normal file
12
lang/gcc/4.0/patches/patch-gcc_ada_mlib-utl_adb
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gcc_ada_mlib-utl_adb,v 1.1 2005/01/07 03:30:41 espie Exp $
|
||||
--- gcc/ada/mlib-utl.adb.orig Fri Jan 7 04:28:41 2005
|
||||
+++ gcc/ada/mlib-utl.adb Fri Jan 7 04:28:50 2005
|
||||
@@ -38,7 +38,7 @@ package body MLib.Utl is
|
||||
|
||||
Initialized : Boolean := False;
|
||||
|
||||
- Gcc_Name : constant String := "gcc";
|
||||
+ Gcc_Name : constant String := "egcc";
|
||||
Gcc_Exec : OS_Lib.String_Access;
|
||||
|
||||
Ar_Name : OS_Lib.String_Access;
|
Loading…
Reference in New Issue
Block a user