$OpenBSD: patch-gcc_ada_mlib-utl_adb,v 1.2 2012/07/01 18:56:45 pascal Exp $
--- gcc/ada/mlib-utl.adb.orig	Fri May 25 12:07:23 2012
+++ gcc/ada/mlib-utl.adb	Wed Jun 20 14:39:11 2012
@@ -433,7 +433,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);
