summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2014-01-18 19:16:56 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2014-01-18 19:16:56 +0000
commitaca770e9fed62b3e0c8e05535285947173346f0a (patch)
treeab32b86515ae541b3e20b8a49897ee5992ff5288 /dev-haskell/hashable
parentamd64 stable, bug #497838 (diff)
downloadgentoo-2-aca770e9fed62b3e0c8e05535285947173346f0a.tar.gz
gentoo-2-aca770e9fed62b3e0c8e05535285947173346f0a.tar.bz2
gentoo-2-aca770e9fed62b3e0c8e05535285947173346f0a.zip
Fix tests building on <cabal-1.18 (bug #498480 by Pacho Ramos).
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'dev-haskell/hashable')
-rw-r--r--dev-haskell/hashable/ChangeLog7
-rw-r--r--dev-haskell/hashable/hashable-1.2.1.0.ebuild9
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-haskell/hashable/ChangeLog b/dev-haskell/hashable/ChangeLog
index 2e92621e2579..90a2a8eec186 100644
--- a/dev-haskell/hashable/ChangeLog
+++ b/dev-haskell/hashable/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-haskell/hashable
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hashable/ChangeLog,v 1.19 2013/10/03 03:48:40 gienah Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hashable/ChangeLog,v 1.20 2014/01/18 19:16:56 slyfox Exp $
+
+ 18 Jan 2014; Sergei Trofimovich <slyfox@gentoo.org> hashable-1.2.1.0.ebuild:
+ Fix tests building on <cabal-1.18 (bug #498480 by Pacho Ramos).
*hashable-1.2.1.0 (03 Oct 2013)
diff --git a/dev-haskell/hashable/hashable-1.2.1.0.ebuild b/dev-haskell/hashable/hashable-1.2.1.0.ebuild
index 5b866c4e5cef..a92931f34094 100644
--- a/dev-haskell/hashable/hashable-1.2.1.0.ebuild
+++ b/dev-haskell/hashable/hashable-1.2.1.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hashable/hashable-1.2.1.0.ebuild,v 1.1 2013/10/03 03:48:40 gienah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hashable/hashable-1.2.1.0.ebuild,v 1.2 2014/01/18 19:16:56 slyfox Exp $
EAPI=5
@@ -31,6 +31,11 @@ DEPEND="${RDEPEND}
>=dev-haskell/test-framework-quickcheck2-0.2.9 )
"
+src_prepare() {
+ # a workaround for <cabal-1.18 #498480
+ hsc2hs tests/Regress/Mmap.{hsc,hs} || die
+}
+
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag sse2 sse2) \