From 285a11f346997d6fe8cc539b7d726f211a13045e Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Thu, 6 Dec 2007 01:33:12 +0000 Subject: [PATCH] forgotten to commit this small patch svn path=/nixpkgs/trunk/; revision=9866 --- .../compilers/ghc-6.8/x86_64-linux_patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/development/compilers/ghc-6.8/x86_64-linux_patch 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(..) )