Ticket #5460: 0001-Add-missing-import-fixes-5460.patch

File 0001-Add-missing-import-fixes-5460.patch, 741 bytes (added by erikd, 3 years ago)

Fix for this bug

  • compiler/nativeGen/X86/Regs.hs

    From 7a95667b38d2ee732ddd7c448ee5c49b4e5efbf2 Mon Sep 17 00:00:00 2001
    From: Erik de Castro Lopo <erikd@mega-nerd.com>
    Date: Mon, 5 Sep 2011 20:24:51 +1000
    Subject: [PATCH] Add missing import (fixes #5460).
    
    ---
     compiler/nativeGen/X86/Regs.hs |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/compiler/nativeGen/X86/Regs.hs b/compiler/nativeGen/X86/Regs.hs
    index 2a1c6fa..280db84 100644
    a b import FastTypes 
    6363import FastBool 
    6464 
    6565 
    66 #if  defined(i386_TARGET_ARCH) || defined(x86_64_TARGET_ARCH) 
     66#if  defined(i386_TARGET_ARCH) || defined(x86_64_TARGET_ARCH) || defined(powerpc_TARGET_ARCH) 
    6767import Constants 
    6868#endif 
    6969