summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-20 08:35:21 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-20 08:35:32 +0100
commita99d0a7c88cfbbf0daa95562cfb6fe820dfa908f (patch)
treeb38663183ca309363faa09729cae2f6b38ecd9a1 /dev-haskell/missingh/files
parentapp-admin/terraform: bump to 0.13.0 (diff)
downloadgentoo-a99d0a7c88cfbbf0daa95562cfb6fe820dfa908f.tar.gz
gentoo-a99d0a7c88cfbbf0daa95562cfb6fe820dfa908f.tar.bz2
gentoo-a99d0a7c88cfbbf0daa95562cfb6fe820dfa908f.zip
dev-haskell/missingh: drop old
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/missingh/files')
-rw-r--r--dev-haskell/missingh/files/missingh-1.2.0.2-ghc-7.7.patch47
-rw-r--r--dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch25
2 files changed, 0 insertions, 72 deletions
diff --git a/dev-haskell/missingh/files/missingh-1.2.0.2-ghc-7.7.patch b/dev-haskell/missingh/files/missingh-1.2.0.2-ghc-7.7.patch
deleted file mode 100644
index 0b249462fa51..000000000000
--- a/dev-haskell/missingh/files/missingh-1.2.0.2-ghc-7.7.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- MissingH-1.2.0.2-orig/src/System/Cmd/Utils.hs 2013-08-22 00:35:27.000000000 +1000
-+++ MissingH-1.2.0.2/src/System/Cmd/Utils.hs 2013-09-28 01:17:29.697333968 +1000
-@@ -325,7 +325,11 @@
- Just (Exited (ExitSuccess)) -> return ()
- Just (Exited (ExitFailure fc)) ->
- cmdfailed funcname fp args fc
-+#if (__GLASGOW_HASKELL__ >= 707)
-+ Just (Terminated sig _) ->
-+#else
- Just (Terminated sig) ->
-+#endif
- warnfail fp args $ "Terminated by signal " ++ show sig
- Just (Stopped sig) ->
- warnfail fp args $ "Stopped by signal " ++ show sig
-@@ -351,7 +355,11 @@
- case ec of
- Exited ExitSuccess -> return ()
- Exited (ExitFailure fc) -> cmdfailed "safeSystem" command args fc
-+#if (__GLASGOW_HASKELL__ >= 707)
-+ Terminated s _ -> cmdsignalled "safeSystem" command args s
-+#else
- Terminated s -> cmdsignalled "safeSystem" command args s
-+#endif
- Stopped s -> cmdsignalled "safeSystem" command args s
- #endif
-
---- MissingH-1.2.0.2-orig/testsrc/Eithertest.hs 2013-08-22 00:35:27.000000000 +1000
-+++ MissingH-1.2.0.2/testsrc/Eithertest.hs 2013-09-28 01:19:32.177332800 +1000
-@@ -6,6 +6,7 @@
- For license and copyright information, see the file LICENSE
-
- -}
-+{-# LANGUAGE CPP #-}
-
- module Eithertest(tests) where
- import Test.HUnit
-@@ -13,8 +14,10 @@
- import Test.HUnit.Tools
- import Control.Exception
-
-+#if (__GLASGOW_HASKELL__ < 707)
- instance Eq ErrorCall where
- (ErrorCall x) == (ErrorCall y) = x == y
-+#endif
-
- test_maybeToEither =
- let f msg inp exp = TestLabel msg $ TestCase $ assertEqual "" exp inp in
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
deleted file mode 100644
index ac4563960636..000000000000
--- a/dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- 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 )