You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch

26 lines
1.3 KiB

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