diff --git a/pkgs/development/compilers/ghc-6.8/x86_64-linux_patch b/pkgs/development/compilers/ghc-6.8/x86_64-linux_patch new file mode 100644 index 000000000000..26a9cf2781e4 --- /dev/null +++ b/pkgs/development/compilers/ghc-6.8/x86_64-linux_patch @@ -0,0 +1,24 @@ +diff -ru /tmp/ghc_fresh/ghc-6.9.20071119/compiler/codeGen/CgUtils.hs ./ghc-6.9.20071119/compiler/codeGen/CgUtils.hs +--- /tmp/ghc_fresh/ghc-6.9.20071119/compiler/codeGen/CgUtils.hs 2007-12-05 15:02:30.000000000 +0100 ++++ ./ghc-6.9.20071119/compiler/codeGen/CgUtils.hs 2007-12-05 15:33:16.000000000 +0100 +@@ -51,7 +51,7 @@ + ) where + + #include "HsVersions.h" +-#include "MachRegs.h" ++#include "../includes/MachRegs.h" + + import CgMonad + import TyCon +diff -ru /tmp/ghc_fresh/ghc-6.9.20071119/compiler/nativeGen/MachRegs.lhs ./ghc-6.9.20071119/compiler/nativeGen/MachRegs.lhs +--- /tmp/ghc_fresh/ghc-6.9.20071119/compiler/nativeGen/MachRegs.lhs 2007-12-05 15:02:30.000000000 +0100 ++++ ./ghc-6.9.20071119/compiler/nativeGen/MachRegs.lhs 2007-12-05 15:32:41.000000000 +0100 +@@ -90,7 +90,7 @@ + -- HACK: go for the max + #endif + +-#include "MachRegs.h" ++#include "../includes/MachRegs.h" + + import Cmm + import MachOp ( MachRep(..) )