Hi,

can anyone please test wether it still compiles with ghc-6.12.3?

I'd do it myself, but I've still the ghc-7.0.2 release candidate
in my tree (and installed), together with a couple of dozens of
other updated hs-ports.

Thanks in advance,
        Kili

Index: patches/patch-Commands_SetStatus_hs
===================================================================
RCS file: patches/patch-Commands_SetStatus_hs
diff -N patches/patch-Commands_SetStatus_hs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Commands_SetStatus_hs 31 Dec 2010 12:25:04 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- Commands/SetStatus.hs.orig Wed Jul  2 17:32:27 2008
++++ Commands/SetStatus.hs      Fri Dec 31 12:35:07 2010
+@@ -56,7 +56,7 @@ cmd_worker gi (args, episodes) = lock $
+                       Just x -> return (read x)
+                       Nothing -> fail "setstatus: --castid required; see 
hpodder setstatus --help"
+        newstatus <- case lookup "status" args of
+-                      Just x -> E.catch (E.evaluate (read x))
++                      Just x -> (E.catch :: IO a -> (IOError -> IO a) -> IO 
a) (E.evaluate (read x))
+                                   (\_ -> fail $ "Invalid status supplied; use 
one of: " ++ possibleStatuses)
+                       Nothing -> fail "setstatus: --status required; see 
hpodder setstatus --help"
+        podcastlist <- getPodcast (gdbh gi) podcastid
Index: patches/patch-hpodder_cabal
===================================================================
RCS file: /cvs/ports/net/hpodder/patches/patch-hpodder_cabal,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-hpodder_cabal
--- patches/patch-hpodder_cabal 28 Apr 2010 16:21:40 -0000      1.1.1.1
+++ patches/patch-hpodder_cabal 31 Dec 2010 12:25:04 -0000
@@ -2,9 +2,10 @@ $OpenBSD: patch-hpodder_cabal,v 1.1.1.1 
 
 fix from upstream git:
 remove unneeded haskell98 dependency
+allow base-4
 
 --- hpodder.cabal.orig Wed Jul  2 17:32:27 2008
-+++ hpodder.cabal      Tue Apr 13 11:46:07 2010
++++ hpodder.cabal      Sun Dec 26 16:08:02 2010
 @@ -68,8 +68,8 @@ Description:  Podcasting is a method of publishing rad
   hpodder is SAFE and is designed with data integrity in mind from the
   beginning.  It should be exceedingly difficult to lose a podcast
@@ -12,7 +13,7 @@ remove unneeded haskell98 dependency
 -Build-Depends: haskell98, network, unix, parsec, MissingH>=1.0.0,
 - HDBC>=1.1.0, HDBC-sqlite3>=1.1.0, mtl, base, HaXml>=1.13.2, HaXml<1.19, 
hslogger,
 +Build-Depends: network, unix, parsec, MissingH>=1.0.0,
-+ HDBC>=1.1.0, HDBC-sqlite3>=1.1.0, mtl, base>=3 && < 4, HaXml>=1.13.2, 
HaXml<1.19, hslogger,
++ HDBC>=1.1.0, HDBC-sqlite3>=1.1.0, mtl, base>=3 && < 5, HaXml>=1.13.2, 
HaXml<1.19, hslogger,
   ConfigFile, filepath, old-time, directory, process
  
  Executable: hpodder

Reply via email to