[ghc-editline] fdToHandle lives in GHC.IO.Handle.FD

Jens Petersen petersen at fedoraproject.org
Wed May 14 08:05:05 UTC 2014


commit e16bf3820c3275c9637009185551ba724cb5561f
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed May 14 17:04:53 2014 +0900

    fdToHandle lives in GHC.IO.Handle.FD

 editline-0.2.1.1-ghc78-Handle.patch |    2 +-
 ghc-editline.spec                   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/editline-0.2.1.1-ghc78-Handle.patch b/editline-0.2.1.1-ghc78-Handle.patch
index 103f895..61af6cd 100644
--- a/editline-0.2.1.1-ghc78-Handle.patch
+++ b/editline-0.2.1.1-ghc78-Handle.patch
@@ -5,7 +5,7 @@
  import Foreign.C.String	( newCString, peekCString, withCString,
  			  castCharToCChar, castCCharToChar )
 -import GHC.Handle	( fdToHandle )
-+import GHC.IO.Handle	( fdToHandle )
++import GHC.IO.Handle.FD	( fdToHandle )
  
  {-# CFILES HsReadline_cbits.c #-}
  
diff --git a/ghc-editline.spec b/ghc-editline.spec
index d266696..0542dd3 100644
--- a/ghc-editline.spec
+++ b/ghc-editline.spec
@@ -70,7 +70,7 @@ cabal-tweak-dep-ver base '< 4.7' '< 4.8'
 
 %Changelog
 * Wed May 14 2014 Jens Petersen <petersen at redhat.com> - 0.2.1.1-6
-- allow building with base-4.7
+- fix build on ghc-7.8
 
 * Sat Aug  3 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.1.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list