-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 New patches: [Compatibility with Cabal 1.2. Greg Heartsfield **20071021001919] { hunk ./Setup.hs 4 - -import Distribution.PackageDescription - -import Distribution.Simple.LocalBuildInfo - -import Distribution.Version - -import System.Info - -import Data.Maybe - -import System.Cmd - - - -missingHooks = defaultUserHooks {confHook = customConfHook} - - - -customConfHook descrip flags = - - let mydescrip = case System.Info.os of - - "mingw32" -> descrip - - _ -> descrip {buildDepends = - - (Dependency "unix" AnyVersion) : - - buildDepends descrip} - - in (confHook defaultUserHooks) mydescrip flags - - - -main = defaultMainWithHooks missingHooks - - hunk ./Setup.hs 5 +main = defaultMain hunk ./hslogger.cabal 13 - -Hs-Source-Dirs: src - -Exposed-Modules: - - System.Log, System.Log.Handler, - - System.Log.Handler.Simple, System.Log.Handler.Syslog, - - System.Log.Handler.Growl, System.Log.Logger - -Extensions: CPP, ExistentialQuantification - -Build-Depends: network, base, mtl - --- Cabal will add Unix here for Posix platforms - -GHC-Options: -O2 +Cabal-Version: >= 1.2 hunk ./hslogger.cabal 15 - -Executable: runtests - -Buildable: False - -Main-Is: runtests.hs - -HS-Source-Dirs: testsrc, . - -Extensions: ExistentialQuantification, OverlappingInstances, - - UndecidableInstances, CPP +Library { + GHC-Options: -O2 + Build-Depends: network, base, mtl + Exposed-Modules: + System.Log, System.Log.Handler, + System.Log.Handler.Simple, System.Log.Handler.Syslog, + System.Log.Handler.Growl, System.Log.Logger + Hs-Source-Dirs: src + Extensions: CPP, ExistentialQuantification + if (!os(mingw32)) { + Build-Depends: unix + } +} hunk ./hslogger.cabal 29 +Executable runtests { + Buildable: False + Build-Depends: network, base, mtl + Main-Is: runtests.hs + HS-Source-Dirs: testsrc, . + Extensions: ExistentialQuantification, OverlappingInstances, + UndecidableInstances, CPP + if (!os(mingw32)) { + Build-Depends: unix + } +} } Context: [add OPTIONS pragma to System.Log.Logger shae@ScannedInAvian.com**20070521182434] [TAG DEBIAN_hslogger_1.0.3 John Goerzen **20070601090632] Patch bundle hash: 8363f7fd5d43e26ddb0c027f9220f1bca37a479c -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFHGpxnMc0hSg4SDVERApqIAJ4yb1mdorfNMT+t/EGvtyCAckdn0ACfeKFB wCkRDZvVowCCHb1FqFwktNg= =HX6L -----END PGP SIGNATURE-----