[DHG_packages] 01/01: mueval: patch for newer hint

Clint Adams clint at moszumanska.debian.org
Tue Jun 7 13:40:31 UTC 2016


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

clint pushed a commit to branch master
in repository DHG_packages.

commit 3381ed95519a34973e7dd9afa1863effce6f192d
Author: Clint Adams <clint at debian.org>
Date:   Tue Jun 7 09:35:23 2016 -0400

    mueval: patch for newer hint
---
 p/haskell-mueval/debian/changelog          |  8 +++-
 p/haskell-mueval/debian/control            |  2 +-
 p/haskell-mueval/debian/patches/newer-hint | 68 ++++++++++++++++++++++++++++++
 p/haskell-mueval/debian/patches/series     |  1 +
 4 files changed, 76 insertions(+), 3 deletions(-)

diff --git a/p/haskell-mueval/debian/changelog b/p/haskell-mueval/debian/changelog
index 9c332ff..323b370 100644
--- a/p/haskell-mueval/debian/changelog
+++ b/p/haskell-mueval/debian/changelog
@@ -1,9 +1,13 @@
-haskell-mueval (0.9.1.1.2-6) UNRELEASED; urgency=medium
+haskell-mueval (0.9.1.1.2-6) unstable; urgency=medium
 
+  [ Dmitry Bogatov ]
   * Use secure (https) uri in Vcs-Git field in 'debian/control'
   * Bump standards version to 3.9.8 (no changes needed)
 
- -- Dmitry Bogatov <KAction at gnu.org>  Tue, 10 May 2016 09:35:50 +0300
+  [ Clint Adams ]
+  * Patch for newer hint.
+
+ -- Clint Adams <clint at debian.org>  Tue, 07 Jun 2016 09:34:52 -0400
 
 haskell-mueval (0.9.1.1.2-5) unstable; urgency=medium
 
diff --git a/p/haskell-mueval/debian/control b/p/haskell-mueval/debian/control
index 5057c82..d78d8ab 100644
--- a/p/haskell-mueval/debian/control
+++ b/p/haskell-mueval/debian/control
@@ -14,7 +14,7 @@ Build-Depends: debhelper (>= 9),
  libghc-quickcheck2-prof,
  libghc-extensible-exceptions-dev,
  libghc-extensible-exceptions-prof,
- libghc-hint-dev (>= 0.3.1),
+ libghc-hint-dev (>= 0.5.0),
  libghc-hint-prof,
  libghc-mtl-dev (>> 2),
  libghc-mtl-prof,
diff --git a/p/haskell-mueval/debian/patches/newer-hint b/p/haskell-mueval/debian/patches/newer-hint
new file mode 100644
index 0000000..cfad319
--- /dev/null
+++ b/p/haskell-mueval/debian/patches/newer-hint
@@ -0,0 +1,68 @@
+--- a/Mueval/Interpreter.hs
++++ b/Mueval/Interpreter.hs
+@@ -18,11 +18,12 @@
+ import           Data.List
+ 
+ import           Language.Haskell.Interpreter (eval, set, reset, setImportsQ, loadModules, liftIO,
+-                                     installedModulesInScope, languageExtensions,
+-                                     typeOf, setTopLevelModules, runInterpreter, glasgowExtensions,
++                                     installedModulesInScope, languageExtensions, availableExtensions,
++                                     typeOf, setTopLevelModules, runInterpreter,
+                                      OptionVal(..), Interpreter,
+                                      InterpreterError(..),GhcError(..),
+                                      Extension(UnknownExtension))
++import           Language.Haskell.Interpreter.Extension (asExtension)
+ import           Language.Haskell.Interpreter.Unsafe (unsafeSetGhcOption)
+ 
+ import           Mueval.ArgsParse (Options(..))
+@@ -177,3 +178,39 @@
+                 \(E.SomeException e) -> return . Exception . toStream . show $ e
+     where uncons [] = End
+           uncons (x:xs) = x `seq` Cons x (toStream xs)
++
++glasgowExtensions :: [Extension]
++glasgowExtensions = intersect availableExtensions exts612
++    where exts612 = map asExtension ["PrintExplicitForalls",
++                                     "ForeignFunctionInterface",
++                                     "UnliftedFFITypes",
++                                     "GADTs",
++                                     "ImplicitParams",
++                                     "ScopedTypeVariables",
++                                     "UnboxedTuples",
++                                     "TypeSynonymInstances",
++                                     "StandaloneDeriving",
++                                     "DeriveDataTypeable",
++                                     "FlexibleContexts",
++                                     "FlexibleInstances",
++                                     "ConstrainedClassMethods",
++                                     "MultiParamTypeClasses",
++                                     "FunctionalDependencies",
++                                     "MagicHash",
++                                     "PolymorphicComponents",
++                                     "ExistentialQuantification",
++                                     "UnicodeSyntax",
++                                     "PostfixOperators",
++                                     "PatternGuards",
++                                     "LiberalTypeSynonyms",
++                                     "ExplicitForAll",
++                                     "RankNTypes",
++                                     "ImpredicativeTypes",
++                                     "TypeOperators",
++                                     "RecursiveDo",
++                                     "DoRec",
++                                     "ParallelListComp",
++                                     "EmptyDataDecls",
++                                     "KindSignatures",
++                                     "GeneralizedNewtypeDeriving",
++                                     "TypeFamilies" ]
+--- a/mueval.cabal
++++ b/mueval.cabal
+@@ -32,7 +32,7 @@
+         exposed-modules:     Mueval.Parallel, Mueval.Context, Mueval.Interpreter,
+                              Mueval.ArgsParse, Mueval.Resources
+         build-depends:       base>=4 && < 5, containers, directory, mtl>2, filepath, unix, process,
+-                             hint>=0.3.1, show>=0.3, Cabal, extensible-exceptions, simple-reflect,
++                             hint>=0.5.0, show>=0.3, Cabal, extensible-exceptions, simple-reflect,
+                              QuickCheck
+         ghc-options:         -Wall -static
+ 
diff --git a/p/haskell-mueval/debian/patches/series b/p/haskell-mueval/debian/patches/series
new file mode 100644
index 0000000..008f5a8
--- /dev/null
+++ b/p/haskell-mueval/debian/patches/series
@@ -0,0 +1 @@
+newer-hint

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



More information about the Pkg-haskell-commits mailing list