dev-haskell/bits-atomic: tweak for ghc-8
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 5 Nov 2016 22:56:39 +0000 (22:56 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 5 Nov 2016 23:23:01 +0000 (23:23 +0000)
Package-Manager: portage-2.3.2

dev-haskell/bits-atomic/bits-atomic-0.1.3-r1.ebuild
dev-haskell/bits-atomic/files/bits-atomic-0.1.3-ghc-8.patch [new file with mode: 0644]

index ccf731538e550fd942b1969c59feee6dd11ec129..fc2e0d27967e3b981a24d5f0a10c4453c50a7290 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -31,4 +31,5 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
        epatch "${FILESDIR}"/${P}-gcc-5.patch
+       epatch "${FILESDIR}"/${P}-ghc-8.patch
 }
diff --git a/dev-haskell/bits-atomic/files/bits-atomic-0.1.3-ghc-8.patch b/dev-haskell/bits-atomic/files/bits-atomic-0.1.3-ghc-8.patch
new file mode 100644 (file)
index 0000000..eb12edc
--- /dev/null
@@ -0,0 +1,9 @@
+diff --git a/test/test.hs b/test/test.hs
+index 38238b5..c3a99b0 100644
+--- a/test/test.hs
++++ b/test/test.hs
+@@ -35,3 +35,3 @@ testPattern = 0xdeadbeef
+ 
+-type PolyTest = (AtomicBits a, Storable a, Integral a, Bounded a, Show a) => a -> Assertion
++type PolyTest = forall a . (AtomicBits a, Storable a, Integral a, Bounded a, Show a) => a -> Assertion
+