* [gentoo-commits] gentoo-x86 commit in dev-haskell/hsql-postgresql/files: hsql-postgresql-1.7.3-ghc68.patch
@ 2009-08-05 18:09 Lennart Kolmodin (kolmodin)
0 siblings, 0 replies; 2+ messages in thread
From: Lennart Kolmodin (kolmodin) @ 2009-08-05 18:09 UTC (permalink / raw
To: gentoo-commits
kolmodin 09/08/05 18:09:18
Added: hsql-postgresql-1.7.3-ghc68.patch
Log:
Version bump dev-haskell/hsql-postgresql.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-haskell/hsql-postgresql/files/hsql-postgresql-1.7.3-ghc68.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hsql-postgresql/files/hsql-postgresql-1.7.3-ghc68.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hsql-postgresql/files/hsql-postgresql-1.7.3-ghc68.patch?rev=1.1&content-type=text/plain
Index: hsql-postgresql-1.7.3-ghc68.patch
===================================================================
diff -rN -u old-hsql-postgresql-1.7.3/Database/HSQL/PostgreSQL.hsc new-hsql-postgresql-1.7.3/Database/HSQL/PostgreSQL.hsc
--- old-hsql-postgresql-1.7.3/Database/HSQL/PostgreSQL.hsc 2009-07-23 14:10:46.000000000 +0200
+++ new-hsql-postgresql-1.7.3/Database/HSQL/PostgreSQL.hsc 2009-07-23 14:10:46.000000000 +0200
@@ -21,7 +21,7 @@
import Data.Char
import Foreign
import Foreign.C
-import Control.OldException (throwDyn, catchDyn, dynExceptions, Exception(..))
+import Control.Exception (throwDyn, catchDyn, dynExceptions, Exception(..))
import Control.Monad(when,unless,mplus)
import Control.Concurrent.MVar
import System.Time
diff -rN -u old-hsql-postgresql-1.7.3/Setup.lhs new-hsql-postgresql-1.7.3/Setup.lhs
--- old-hsql-postgresql-1.7.3/Setup.lhs 2009-07-23 14:10:46.000000000 +0200
+++ new-hsql-postgresql-1.7.3/Setup.lhs 2009-07-23 14:10:46.000000000 +0200
@@ -16,14 +16,17 @@
import System.Process(runInteractiveProcess, waitForProcess)
import System.IO(hClose, hGetContents, hPutStr, stderr)
import Control.Monad(when)
-import Control.OldException(try)
+
+import System.Directory(doesFileExist)
main = defaultMainWithHooks autoconfUserHooks{preConf= preConf
,postConf= postConf}
where
preConf :: [String] -> ConfigFlags -> IO HookedBuildInfo
preConf args flags = do
- try (removeFile "PostgreSQL.buildinfo")
+ exists <- doesFileExist "PostgreSQL.buildinfo"
+ when exists $
+ removeFile "PostgreSQL.buildinfo"
return emptyHookedBuildInfo
postConf :: [String] -> ConfigFlags -> PackageDescription -> LocalBuildInfo -> IO ()
postConf args flags _ localbuildinfo = do
diff -rN -u old-hsql-postgresql-1.7.3/hsql-postgresql.cabal new-hsql-postgresql-1.7.3/hsql-postgresql.cabal
--- old-hsql-postgresql-1.7.3/hsql-postgresql.cabal 2009-07-23 14:10:46.000000000 +0200
+++ new-hsql-postgresql-1.7.3/hsql-postgresql.cabal 2009-07-23 14:10:46.000000000 +0200
@@ -7,8 +7,8 @@
Category: Database
Description: PostgreSQL driver for HSQL.
Exposed-modules: Database.HSQL.PostgreSQL
-Build-depends: base >= 4.0.0.0, hsql, old-time
+Build-depends: base < 4 && >=3, hsql, old-time
Maintainer: nick.rudnick@googlemail.com
Extensions: ForeignFunctionInterface, CPP
Build-Type: Custom
-Extra-libraries: pq
\ No newline at end of file
+Extra-libraries: pq
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-haskell/hsql-postgresql/files: hsql-postgresql-1.7.3-ghc68.patch
@ 2011-08-04 13:04 Sergei Trofimovich (slyfox)
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Trofimovich (slyfox) @ 2011-08-04 13:04 UTC (permalink / raw
To: gentoo-commits
slyfox 11/08/04 13:04:39
Removed: hsql-postgresql-1.7.3-ghc68.patch
Log:
dev-haskell/hsql*: removed old
(Portage version: 2.1.10.10/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-04 13:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-04 13:04 [gentoo-commits] gentoo-x86 commit in dev-haskell/hsql-postgresql/files: hsql-postgresql-1.7.3-ghc68.patch Sergei Trofimovich (slyfox)
-- strict thread matches above, loose matches on Subject: below --
2009-08-05 18:09 Lennart Kolmodin (kolmodin)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox