slyfox      15/08/04 06:39:39

  Added:                mazesofmonad-1.0.9-time-1.5.patch
  Log:
  Ported to time-1.5 (comes with ghc-7.10), bug #556622 by Toralf Förster.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
611FF3AA)

Revision  Changes    Path
1.1                  
games-roguelike/mazesofmonad/files/mazesofmonad-1.0.9-time-1.5.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/mazesofmonad/files/mazesofmonad-1.0.9-time-1.5.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/mazesofmonad/files/mazesofmonad-1.0.9-time-1.5.patch?rev=1.1&content-type=text/plain

Index: mazesofmonad-1.0.9-time-1.5.patch
===================================================================
diff --git a/MazesOfMonad.cabal b/MazesOfMonad.cabal
index db5e5bf..c3b427b 100644
--- a/MazesOfMonad.cabal
+++ b/MazesOfMonad.cabal
@@ -34,3 +34,3 @@ Executable mazesofmonad
     regex-posix, containers, filepath, directory, pretty, 
-    array, mtl, old-locale, time                                        
+    array, mtl, old-locale, time, time-locale-compat 
 
diff --git a/src/MoresmauJP/Rpg/Save.hs b/src/MoresmauJP/Rpg/Save.hs
index 12965b7..238b9b9 100644
--- a/src/MoresmauJP/Rpg/Save.hs
+++ b/src/MoresmauJP/Rpg/Save.hs
@@ -10,2 +10,3 @@ import Data.Maybe
 import Data.Time
+import qualified Data.Time.Locale.Compat as DTLC
 
@@ -112,3 +113,3 @@ listGames rs name= do
       if isJust $ bckGame bs 
-        then return $ Just (dropExtension x,formatTime defaultTimeLocale 
(iso8601DateFormat $ Just "%R") $ bckDate bs) 
+        then return $ Just (dropExtension x,formatTime DTLC.defaultTimeLocale 
(DTLC.iso8601DateFormat $ Just "%R") $ bckDate bs) 
         else return Nothing




Reply via email to