[Pkg-haskell-commits] darcs: haskell-sdl: Add ghc-7.8 compat patch

Joachim Breitner mail at joachim-breitner.de
Mon Dec 22 14:57:34 UTC 2014


Sun Dec 21 08:57:54 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Add ghc-7.8 compat patch

    M ./changelog +1
    A ./patches/
    A ./patches/ghc-7.8-compat
    A ./patches/series

Sun Dec 21 08:57:54 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Add ghc-7.8 compat patch
diff -rN -u old-haskell-sdl/changelog new-haskell-sdl/changelog
--- old-haskell-sdl/changelog	2014-12-22 14:57:33.954421324 +0000
+++ new-haskell-sdl/changelog	2014-12-22 14:57:33.958421326 +0000
@@ -3,6 +3,7 @@
   * Adjust watch file to new hackage layout
   * Depend on haskell-devscripts 0.9, found in experimental
   * New upstream release
+  * Add ghc-7.8 compat patch
 
  -- Joachim Breitner <nomeata at debian.org>  Sat, 20 Dec 2014 19:54:24 +0100
 
diff -rN -u old-haskell-sdl/patches/ghc-7.8-compat new-haskell-sdl/patches/ghc-7.8-compat
--- old-haskell-sdl/patches/ghc-7.8-compat	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-sdl/patches/ghc-7.8-compat	2014-12-22 14:57:33.958421326 +0000
@@ -0,0 +1,13 @@
+Index: SDL-0.6.5/Graphics/UI/SDL/Events.hsc
+===================================================================
+--- SDL-0.6.5.orig/Graphics/UI/SDL/Events.hsc	2014-12-21 09:56:15.226032276 +0100
++++ SDL-0.6.5/Graphics/UI/SDL/Events.hsc	2014-12-21 09:57:15.871273076 +0100
+@@ -53,7 +53,7 @@
+ import qualified Prelude (Enum(..))
+ 
+ import Foreign.StablePtr (newStablePtr,castStablePtrToPtr,castPtrToStablePtr,deRefStablePtr)
+-import Data.Typeable (Typeable(typeOf),TypeRep)
++import Data.Typeable
+ 
+ import Graphics.UI.SDL.Keysym (SDLKey, Modifier, Keysym)
+ import Graphics.UI.SDL.Utilities (Enum(..), intToBool, toBitmask, fromBitmask, fromCInt)
diff -rN -u old-haskell-sdl/patches/series new-haskell-sdl/patches/series
--- old-haskell-sdl/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-sdl/patches/series	2014-12-22 14:57:33.958421326 +0000
@@ -0,0 +1 @@
+ghc-7.8-compat




More information about the Pkg-haskell-commits mailing list