diff options
Diffstat (limited to 'dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch')
-rw-r--r-- | dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch b/dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch new file mode 100644 index 000000000000..02967bf16502 --- /dev/null +++ b/dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch @@ -0,0 +1,13 @@ +diff --git a/Graphics/Rendering/OpenGL/GL/IOState.hs b/Graphics/Rendering/OpenGL/GL/IOState.hs +index 6fbc144..2c2a42d 100644 +--- a/Graphics/Rendering/OpenGL/GL/IOState.hs ++++ b/Graphics/Rendering/OpenGL/GL/IOState.hs +@@ -21 +21,2 @@ module Graphics.Rendering.OpenGL.GL.IOState ( +-import Control.Monad(replicateM) ++import Control.Applicative ++import Control.Monad(replicateM,ap) +@@ -31,0 +33,4 @@ instance Functor (IOState s) where ++instance Applicative (IOState s) where ++ pure = return ++ (<*>) = ap -- defined in Control.Monad ++ |