[DHG_packages] 35/101: alex: Attempt to make debian/get_version.hs work with GHC-7.10

Joachim Breitner nomeata at moszumanska.debian.org
Sun Aug 16 14:06:02 UTC 2015


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

nomeata pushed a commit to branch st3
in repository DHG_packages.

commit 9721f5cb3b4dd6014fd19534b5051ab69211c05d
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sat Aug 15 18:35:41 2015 +0200

    alex: Attempt to make debian/get_version.hs work with GHC-7.10
---
 p/alex/debian/changelog      | 4 ++++
 p/alex/debian/control        | 2 +-
 p/alex/debian/get_version.hs | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/p/alex/debian/changelog b/p/alex/debian/changelog
index 477b1a6..86ff047 100644
--- a/p/alex/debian/changelog
+++ b/p/alex/debian/changelog
@@ -1,7 +1,11 @@
 alex (3.1.4-2.1) UNRELEASED; urgency=medium
 
+  [ Helmut Grohne ]
   * Mark alex as Multi-Arch:foreign.
 
+  [ Joachim Breitner ]
+  * Attempt to make debian/get_version.hs work with GHC-7.10
+
  -- Helmut Grohne <helmut at subdivi.de>  Mon, 03 Aug 2015 19:46:21 +0200
 
 alex (3.1.4-2) unstable; urgency=medium
diff --git a/p/alex/debian/control b/p/alex/debian/control
index 3885b3d..38185a6 100644
--- a/p/alex/debian/control
+++ b/p/alex/debian/control
@@ -6,7 +6,7 @@ Section: haskell
 Build-Depends: cdbs (>= 0.4.59),
  haskell-devscripts (>= 0.9),
  debhelper (>= 9),
- ghc,
+ ghc (>= 7.10),
  alex,
  happy,
  jade,
diff --git a/p/alex/debian/get_version.hs b/p/alex/debian/get_version.hs
index e4e829e..00b9c81 100644
--- a/p/alex/debian/get_version.hs
+++ b/p/alex/debian/get_version.hs
@@ -10,6 +10,6 @@ import Distribution.Verbosity
 import Distribution.Version
 
 main :: IO ()
-main = do fp <- findPackageDesc "."
+main = do Right fp <- findPackageDesc "."
           pd <- readPackageDescription normal fp
           putStr $ showVersion $ pkgVersion $ package $ packageDescription pd

-- 
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