summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2012-12-22 21:30:22 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2012-12-22 21:30:22 +0000
commitfbac85b8ec1434d5dbdaa49768f143588dc63b82 (patch)
treec3b643ac2d0d64f2bb4d8ecfd20316865f660d5a /dev-haskell/crypto/files/crypto-4.2.4-ghc-7.4.patch
parentversion bump & remove old. also add default USE for the common stuff. also fi... (diff)
downloadhistorical-fbac85b8ec1434d5dbdaa49768f143588dc63b82.tar.gz
historical-fbac85b8ec1434d5dbdaa49768f143588dc63b82.tar.bz2
historical-fbac85b8ec1434d5dbdaa49768f143588dc63b82.zip
Version bump.
Package-Manager: portage-2.2.0_alpha149_p1/cvs/Linux x86_64 Manifest-Sign-Key: 0x611FF3AA
Diffstat (limited to 'dev-haskell/crypto/files/crypto-4.2.4-ghc-7.4.patch')
-rw-r--r--dev-haskell/crypto/files/crypto-4.2.4-ghc-7.4.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/dev-haskell/crypto/files/crypto-4.2.4-ghc-7.4.patch b/dev-haskell/crypto/files/crypto-4.2.4-ghc-7.4.patch
deleted file mode 100644
index a4ca6a702b68..000000000000
--- a/dev-haskell/crypto/files/crypto-4.2.4-ghc-7.4.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- Crypto-4.2.4-orig/Data/Digest/SHA2.hs 2011-09-08 10:30:07.000000000 +1000
-+++ Crypto-4.2.4/Data/Digest/SHA2.hs 2011-12-20 13:28:26.401971284 +1100
-@@ -106,7 +106,7 @@
- data Hash384 = Hash384 !Word64 !Word64 !Word64 !Word64 !Word64 !Word64 deriving (Eq, Ord)
- data Hash224 = Hash224 !Word32 !Word32 !Word32 !Word32 !Word32 !Word32 !Word32 deriving (Eq, Ord)
-
--instance (Integral a) => Show (Hash8 a) where
-+instance (Integral a, Show a) => Show (Hash8 a) where
- showsPrec _ (Hash8 a b c d e f g h) =
- (showHex a) . (' ':) .
- (showHex b) . (' ':) .
-@@ -146,7 +146,7 @@
- where
- bs = bitSize (head r)
-
--instance (Integral h, Bits h) => Hash (Hash8 h) where
-+instance (Integral h, Bits h, Show h) => Hash (Hash8 h) where
- toOctets (Hash8 x0 x1 x2 x3 x4 x5 x6 x7) = bitsToOctets =<< [x0, x1, x2, x3, x4, x5, x6, x7]
-
- instance Hash Hash384 where
-@@ -282,4 +282,4 @@
-
- -- Test with:
- -- ghc -no-recomp -O --make Data/Digest/SHA2.hs -main-is Data.Digest.SHA2.moduleTest -o moduleTest && ./moduleTest && rm moduleTest
--moduleTest = runTestTT test_sha2
-\ No newline at end of file
-+moduleTest = runTestTT test_sha2