openbsd-ports/lang/gcc/4.7/patches/patch-gcc_ada_mlib-utl_adb
pascal f2b393605c Import gcc 4.7.
ok espie@
2012-04-23 15:56:40 +00:00

13 lines
559 B
Plaintext

$OpenBSD: patch-gcc_ada_mlib-utl_adb,v 1.1.1.1 2012/04/23 15:56:41 pascal Exp $
--- gcc/ada/mlib-utl.adb.orig Mon Nov 14 13:41:37 2011
+++ gcc/ada/mlib-utl.adb Mon Nov 14 13:41:45 2011
@@ -412,7 +412,7 @@ package body MLib.Utl is
if Driver_Name = No_Name then
if Gcc_Exec = null then
if Gcc_Name = null then
- Gcc_Name := Osint.Program_Name ("gcc", "gnatmake");
+ Gcc_Name := Osint.Program_Name ("egcc", "gnatmake");
end if;
Gcc_Exec := Locate_Exec_On_Path (Gcc_Name.all);