Permalink
Browse files

Merged patch from Karn Kallio to make hdaemonize build on GHC 7.4.1

  • Loading branch information...
1 parent 38082d9 commit 225cbd2269b6b1c8e1ed704971e682cbe717c95d @madhadron committed Feb 5, 2012
Showing with 5 additions and 4 deletions.
  1. +3 −2 System/Posix/Daemonize.hs
  2. +2 −2 hdaemonize.cabal
View
5 System/Posix/Daemonize.hs
@@ -49,7 +49,8 @@ import Control.Monad.Trans
import Control.Exception.Extensible
import qualified Control.Monad as M (forever)
import Prelude hiding (catch)
-import System
+import System.Environment
+import System.Exit
import System.Posix
import System.Posix.Syslog (withSyslog,Option(..),Priority(..),Facility(..),syslog)
import System.FilePath.Posix (joinPath)
@@ -333,4 +334,4 @@ exitCleanly :: MonadIO m => m a
exitCleanly = liftIO $ do
syslog Notice "Exiting."
exitImmediately ExitSuccess
- undefined -- You will never reach this; it's there to make the type checker happy
+ undefined -- You will never reach this; it's there to make the type checker happy
View
4 hdaemonize.cabal
@@ -1,5 +1,5 @@
Name: hdaemonize
-Version: 0.4.4
+Version: 0.4.4.1
Cabal-Version: >= 1.6
License: BSD3
License-file: LICENSE
@@ -17,7 +17,7 @@ Build-Type: Simple
Extra-Source-Files: README
Library
- Build-Depends: base >= 4 && < 5, unix, haskell98, hsyslog, extensible-exceptions, filepath, mtl
+ Build-Depends: base >= 4 && < 5, unix, hsyslog, extensible-exceptions, filepath, mtl
Exposed-modules: System.Posix.Daemonize
if impl(ghc > 6.12)
Ghc-Options: -Wall -fno-warn-unused-do-bind -fno-warn-type-defaults -fno-warn-name-shadowing

0 comments on commit 225cbd2

Please sign in to comment.