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 /devel/hs-bsd-sysctl/files | |
parent | ad7295cafd0e46ece6fcbf594ef39a767c296d0e (diff) | |
download | ports-109269205e521bb1d2d87678a391e5adefff88d6.tar.gz ports-109269205e521bb1d2d87678a391e5adefff88d6.zip |
Notes
Diffstat (limited to 'devel/hs-bsd-sysctl/files')
-rw-r--r-- | devel/hs-bsd-sysctl/files/patch-Setup.hs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/hs-bsd-sysctl/files/patch-Setup.hs b/devel/hs-bsd-sysctl/files/patch-Setup.hs new file mode 100644 index 000000000000..5d8b6009497c --- /dev/null +++ b/devel/hs-bsd-sysctl/files/patch-Setup.hs @@ -0,0 +1,16 @@ +--- ./Setup.hs.orig 2012-02-28 22:01:23.000000000 +0100 ++++ ./Setup.hs 2013-05-01 00:55:07.000000000 +0200 +@@ -4,6 +4,7 @@ + + import System.Directory + import System.FilePath ++import System.IO.Error + + -- Define __HADDOCK__ when building documentation. + main = defaultMainWithHooks simpleUserHooks { +@@ -19,4 +20,4 @@ + removePreProcessedFiles dir = do + putStrLn $ "Trying to remove source in: " ++ dir + removeFile (dir </> "System/BSD/Sysctl.hs") +- `catch` \_ -> putStrLn "Could not find source file!" >> return () ++ `catchIOError` \_ -> putStrLn "Could not find source file!" >> return () |