diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2013-06-04 18:53:40 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2013-06-04 18:53:40 +0000 |
commit | 109269205e521bb1d2d87678a391e5adefff88d6 (patch) | |
tree | 93f1f9278a9a48902904b7ff4a5ce711c10efe08 /lang/hs-epic | |
parent | ad7295cafd0e46ece6fcbf594ef39a767c296d0e (diff) |
Notes
Diffstat (limited to 'lang/hs-epic')
-rw-r--r-- | lang/hs-epic/Makefile | 4 | ||||
-rw-r--r-- | lang/hs-epic/files/patch-Epic__Language.lhs | 23 |
2 files changed, 24 insertions, 3 deletions
diff --git a/lang/hs-epic/Makefile b/lang/hs-epic/Makefile index 4183c2962d0f..4587d6c6fa5a 100644 --- a/lang/hs-epic/Makefile +++ b/lang/hs-epic/Makefile @@ -2,7 +2,7 @@ PORTNAME= epic PORTVERSION= 0.9.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= lang haskell MAINTAINER= haskell@FreeBSD.org @@ -10,8 +10,6 @@ COMMENT= Compiler for a simple functional language LICENSE= BSD -CABAL_SETUP= Setup.hs - USE_CABAL= mtl USE_HAPPY= yes diff --git a/lang/hs-epic/files/patch-Epic__Language.lhs b/lang/hs-epic/files/patch-Epic__Language.lhs new file mode 100644 index 000000000000..cb047e5e75f5 --- /dev/null +++ b/lang/hs-epic/files/patch-Epic__Language.lhs @@ -0,0 +1,23 @@ +--- ./Epic/Language.lhs.orig 2012-02-28 00:44:29.000000000 +0100 ++++ ./Epic/Language.lhs 2013-05-01 00:03:23.000000000 +0200 +@@ -5,6 +5,7 @@ + + > import Control.Monad + > import System.IO ++> import System.IO.Error + > import System.Directory + > import System.Environment + +@@ -377,9 +378,9 @@ + > openTempFile dir "esc" + + > environment :: String -> IO (Maybe String) +-> environment x = catch (do e <- getEnv x +-> return (Just e)) +-> (\_ -> return Nothing) ++> environment x = catchIOError (do e <- getEnv x ++> return (Just e)) ++> (\_ -> return Nothing) + + Some tests + |