[kaya] - Fix for ghc-7.0.1

Jochen Schmitt s4504kr at fedoraproject.org
Mon Jan 31 19:08:42 UTC 2011


commit 7f9aeebfcd6d4a960b09aef862914e2e8a2b4feb
Author: Jochen Schmitt <Jochen at herr-schmitt.de>
Date:   Mon Jan 31 20:08:51 2011 +0100

    - Fix for ghc-7.0.1

 kaya-0.5.2-codegen.patch |    2 +-
 kaya.spec                |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/kaya-0.5.2-codegen.patch b/kaya-0.5.2-codegen.patch
index efdcc62..228532d 100644
--- a/kaya-0.5.2-codegen.patch
+++ b/kaya-0.5.2-codegen.patch
@@ -15,7 +15,7 @@ diff -up kaya-0.5.2/compiler/CodegenCPP.hs.ghc7 kaya-0.5.2/compiler/CodegenCPP.h
  		    -- "HEAPVAL("++show (tmpval n)++"); " ++ 
                      "POPARG(" ++ show (tmpval n) ++ "); " ++
 -                    popvals (n+1) a
-+                    popvals (n+1) (a+1)
++                    popvals (n+1) (a-1)
  
  {- CIM 12/7/05 changed to KVOID to avoid clashes with MinGW -}
      conv (Prim Void) = "KVOID("
diff --git a/kaya.spec b/kaya.spec
index 797a5c1..46da734 100644
--- a/kaya.spec
+++ b/kaya.spec
@@ -115,7 +115,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %changelog
 * Wed Dec  1 2010 Jochen Schmitt <Jochen herr-schmitt de> 0.5.2-8
-- Fix for ghc-7.0
+- Fix for ghc-7.0.1
 
 * Wed May  5 2010 Jochen Schmitt <Jochen herr-schmitt de> 0.5.2-6
 - Fix GC-API issue and ImplicitDSOLining failure (#555493)


More information about the scm-commits mailing list