diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-05-10 22:50:16 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-05-11 09:48:03 +0100 |
commit | e41d102711f908eb7291806e345d6c27ec56e5a8 (patch) | |
tree | e63c6a64a7b0d8bc123e8f50785ba5cdf41031cc | |
parent | dev-haskell/mmorph: bump up to 1.0.6 (diff) | |
download | gentoo-e41d102711f908eb7291806e345d6c27ec56e5a8.tar.gz gentoo-e41d102711f908eb7291806e345d6c27ec56e5a8.tar.bz2 gentoo-e41d102711f908eb7291806e345d6c27ec56e5a8.zip |
dev-haskell/missingh: allow ghc-8
Package-Manager: portage-2.2.28
-rw-r--r-- | dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch | 25 | ||||
-rw-r--r-- | dev-haskell/missingh/missingh-1.3.0.1.ebuild | 6 |
2 files changed, 30 insertions, 1 deletions
diff --git a/dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch b/dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch new file mode 100644 index 000000000000..ac4563960636 --- /dev/null +++ b/dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch @@ -0,0 +1,25 @@ +--- MissingH-1.3.0.1-orig/src/Data/BinPacking.hs 2014-10-28 23:46:24.000000000 +1100 ++++ MissingH-1.3.0.1/src/Data/BinPacking.hs 2016-04-20 10:23:16.403505044 +1000 +@@ -69,7 +69,7 @@ + > [(size, obj)] is the sizes and objects + > result is Either error or results + -} +-type BinPacker = (Num size, Ord size, Show size, Show obj) => ++type BinPacker = forall size obj . (Num size, Ord size, Show size, Show obj) => + [size] -- The sizes of bins + -> [(size, obj)] -- The sizes and objects + -> Either (BinPackerError size obj) [[(size, obj)]] -- Either error or results +--- MissingH-1.3.0.1-orig/src/System/IO/HVFS.hs 2014-10-28 23:46:24.000000000 +1100 ++++ MissingH-1.3.0.1/src/System/IO/HVFS.hs 2016-04-24 18:50:36.893741944 +1000 +@@ -60,7 +60,10 @@ + import System.IO.PlafCompat + import System.Posix.Types + import System.Time +-import System.Directory ++import System.Directory (createDirectory, doesDirectoryExist, doesFileExist, ++ getCurrentDirectory, getDirectoryContents, getModificationTime, ++ removeDirectory, removeFile, renameDirectory, ++ renameFile, setCurrentDirectory) + + #if MIN_VERSION_directory(1,2,0) + import Data.Time.Clock.POSIX ( utcTimeToPOSIXSeconds ) diff --git a/dev-haskell/missingh/missingh-1.3.0.1.ebuild b/dev-haskell/missingh/missingh-1.3.0.1.ebuild index b76a2e529247..08df029dfdf7 100644 --- a/dev-haskell/missingh/missingh-1.3.0.1.ebuild +++ b/dev-haskell/missingh/missingh-1.3.0.1.ebuild @@ -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$ @@ -39,3 +39,7 @@ DEPEND="${RDEPEND} " S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.3.0.1-ghc-8.0.patch" +} |