[Pkg-ganeti-devel] [ganeti] 01/04: Fix FTBFS with ghc 8.0.2

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Tue Jun 27 21:18:49 UTC 2017


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository ganeti.

commit fce1aa5c32ef73219dfc15072441dfdcbdb78c42
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Tue Jun 27 23:53:44 2017 +0300

    Fix FTBFS with ghc 8.0.2
---
 debian/patches/ghc8-fixes | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/patches/ghc8-fixes b/debian/patches/ghc8-fixes
index bf57ca1..d4e0bde 100644
--- a/debian/patches/ghc8-fixes
+++ b/debian/patches/ghc8-fixes
@@ -283,3 +283,14 @@ Last-Update: 2016-12-13
                     $ \r -> f (r . getWConfdMonadInt)
    restoreM = WConfdMonadInt . restoreM
  #else
+--- a/src/Ganeti/Metad/ConfigCore.hs
++++ b/src/Ganeti/Metad/ConfigCore.hs
+@@ -71,7 +71,7 @@
+ #if MIN_VERSION_monad_control(1,0,0)
+ -- Needs Undecidable instances
+   type StM MetadMonadInt b = StM MetadMonadIntType b
+-  liftBaseWith f = MetadMonadInt . liftBaseWith
++  liftBaseWith f = MetadMonadInt $ liftBaseWith
+                    $ \r -> f (r . getMetadMonadInt)
+   restoreM = MetadMonadInt . restoreM
+ #else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ganeti/ganeti.git



More information about the Pkg-ganeti-devel mailing list