summaryrefslogtreecommitdiff
path: root/p/alex
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2015-08-15 18:35:41 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2015-08-15 23:40:51 +0200
commit9721f5cb3b4dd6014fd19534b5051ab69211c05d (patch)
tree1791be65d84fef276e82c947592acf4168b4aa40 /p/alex
parentfa8b3f132fda7254c13288eadea3c17e3c64e6fb (diff)
downloadDHG_packages-9721f5cb3b4dd6014fd19534b5051ab69211c05d.tar.gz
alex: Attempt to make debian/get_version.hs work with GHC-7.10
Diffstat (limited to 'p/alex')
-rw-r--r--p/alex/debian/changelog4
-rw-r--r--p/alex/debian/control2
-rw-r--r--p/alex/debian/get_version.hs2
3 files changed, 6 insertions, 2 deletions
diff --git a/p/alex/debian/changelog b/p/alex/debian/changelog
index 477b1a639..86ff04765 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@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 3885b3dc3..38185a659 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 e4e829e3f..00b9c81b4 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