diff options
Diffstat (limited to 'dev-haskell/happy/files/happy-1.18.9-ghc-7.5.patch')
-rw-r--r-- | dev-haskell/happy/files/happy-1.18.9-ghc-7.5.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-haskell/happy/files/happy-1.18.9-ghc-7.5.patch b/dev-haskell/happy/files/happy-1.18.9-ghc-7.5.patch new file mode 100644 index 000000000000..7c71048b3627 --- /dev/null +++ b/dev-haskell/happy/files/happy-1.18.9-ghc-7.5.patch @@ -0,0 +1,20 @@ +--- happy-1.18.9-orig/Setup.lhs 2012-02-06 20:49:56.000000000 +1100 ++++ happy-1.18.9/Setup.lhs 2012-06-25 08:55:56.283147498 +1000 +@@ -10,7 +10,7 @@ + import Distribution.Simple.Program + + import System.FilePath ((</>)) +-import System.IO.Error ( try ) ++import System.IO.Error ( tryIOError ) + import System.Directory (removeFile) + + main :: IO () +@@ -50,7 +50,7 @@ + [ cpp_template "GLR_Base.hs" dst opts | (dst,opts) <- glr_base_templates ] ++ + [ cpp_template "GLR_Lib.hs" dst opts | (dst,opts) <- glr_templates ]) + +-myPostClean _ _ _ _ = mapM_ (try . removeFile) all_template_files ++myPostClean _ _ _ _ = mapM_ (tryIOError . removeFile) all_template_files + + myInstall pkg_descr lbi hooks flags = + instHook defaultUserHooks pkg_descr' lbi hooks flags |