summaryrefslogtreecommitdiff
path: root/p/haskell-gloss
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2015-05-06 00:38:56 +0300
committerJoachim Breitner <mail@joachim-breitner.de>2015-05-06 00:38:56 +0300
commit2ef63764d7d68f13a7da1b3318f316986d6087bf (patch)
treecae04642e2a533d9b284f89058eb3fb906ec2def /p/haskell-gloss
parentf0eac2631c0d6a9b7151a595609b98c36dfb965b (diff)
downloadDHG_packages-2ef63764d7d68f13a7da1b3318f316986d6087bf.tar.gz
haskell-gloss: Patch to allow older base
Diffstat (limited to 'p/haskell-gloss')
-rw-r--r--p/haskell-gloss/debian/changelog1
-rw-r--r--p/haskell-gloss/debian/patches/extend-base-dependency64
-rw-r--r--p/haskell-gloss/debian/patches/series1
3 files changed, 66 insertions, 0 deletions
diff --git a/p/haskell-gloss/debian/changelog b/p/haskell-gloss/debian/changelog
index 364fb70b4..0e12586dc 100644
--- a/p/haskell-gloss/debian/changelog
+++ b/p/haskell-gloss/debian/changelog
@@ -1,6 +1,7 @@
haskell-gloss (1.9.3.1-1) UNRELEASED; urgency=medium
* New upstream release
+ * Patch to allow older base
-- Joachim Breitner <nomeata@debian.org> Tue, 05 May 2015 23:14:54 +0200
diff --git a/p/haskell-gloss/debian/patches/extend-base-dependency b/p/haskell-gloss/debian/patches/extend-base-dependency
new file mode 100644
index 000000000..0a00ac558
--- /dev/null
+++ b/p/haskell-gloss/debian/patches/extend-base-dependency
@@ -0,0 +1,64 @@
+Index: gloss-1.9.3.1/gloss.cabal
+===================================================================
+--- gloss-1.9.3.1.orig/gloss.cabal 2015-05-05 23:15:59.758337339 +0200
++++ gloss-1.9.3.1/gloss.cabal 2015-05-05 23:16:48.291327847 +0200
+@@ -37,8 +37,8 @@
+
+ Library
+ Build-Depends:
+- base == 4.8.*,
+- ghc-prim == 0.4.*,
++ base,
++ ghc-prim,
+ containers == 0.5.*,
+ bytestring == 0.10.*,
+ OpenGL == 2.12.*,
+Index: gloss-1.9.3.1/Graphics/Gloss/Internals/Interface/Event.hs
+===================================================================
+--- gloss-1.9.3.1.orig/Graphics/Gloss/Internals/Interface/Event.hs 2015-05-05 23:15:59.746337087 +0200
++++ gloss-1.9.3.1/Graphics/Gloss/Internals/Interface/Event.hs 2015-05-05 23:35:31.547347728 +0200
+@@ -6,6 +6,7 @@
+ where
+ import Data.IORef
+ import Graphics.Gloss.Internals.Interface.Backend
++import Data.Functor
+
+ -- | Possible input events.
+ data Event
+Index: gloss-1.9.3.1/Graphics/Gloss/Internals/Interface/Display.hs
+===================================================================
+--- gloss-1.9.3.1.orig/Graphics/Gloss/Internals/Interface/Display.hs 2015-05-05 23:15:59.746337087 +0200
++++ gloss-1.9.3.1/Graphics/Gloss/Internals/Interface/Display.hs 2015-05-05 23:35:54.879883667 +0200
+@@ -16,6 +16,7 @@
+ import qualified Graphics.Gloss.Internals.Interface.Callback as Callback
+ import Data.IORef
+ import System.Mem
++import Data.Functor
+
+
+ displayWithBackend
+Index: gloss-1.9.3.1/Graphics/Gloss/Internals/Interface/Animate.hs
+===================================================================
+--- gloss-1.9.3.1.orig/Graphics/Gloss/Internals/Interface/Animate.hs 2015-05-05 23:15:59.746337087 +0200
++++ gloss-1.9.3.1/Graphics/Gloss/Internals/Interface/Animate.hs 2015-05-05 23:36:13.856314870 +0200
+@@ -20,7 +20,7 @@
+ import Control.Monad
+ import System.Mem
+ import GHC.Float (double2Float)
+-
++import Data.Functor
+
+ animateWithBackendIO
+ :: Backend a
+Index: gloss-1.9.3.1/Graphics/Gloss/Internals/Interface/Simulate.hs
+===================================================================
+--- gloss-1.9.3.1.orig/Graphics/Gloss/Internals/Interface/Simulate.hs 2015-05-05 23:15:59.746337087 +0200
++++ gloss-1.9.3.1/Graphics/Gloss/Internals/Interface/Simulate.hs 2015-05-05 23:36:37.416844644 +0200
+@@ -22,6 +22,7 @@
+ import qualified Graphics.Gloss.Internals.Interface.Animate.State as AN
+ import Data.IORef
+ import System.Mem
++import Data.Functor
+
+
+ simulateWithBackendIO
diff --git a/p/haskell-gloss/debian/patches/series b/p/haskell-gloss/debian/patches/series
new file mode 100644
index 000000000..c25220890
--- /dev/null
+++ b/p/haskell-gloss/debian/patches/series
@@ -0,0 +1 @@
+extend-base-dependency