1 |
commit: 60a248c51f57e87f1c388798827042389380d6f1 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Sep 13 12:55:22 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 14 07:05:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a248c5 |
7 |
|
8 |
dev-haskell/asn1-encoding: remove unused patch(es) |
9 |
|
10 |
Package-Manager: Portage-3.0.6, Repoman-3.0.1 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/17522 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
.../files/asn1-encoding-0.9.0-32bit-tests.patch | 24 ---------------------- |
16 |
1 file changed, 24 deletions(-) |
17 |
|
18 |
diff --git a/dev-haskell/asn1-encoding/files/asn1-encoding-0.9.0-32bit-tests.patch b/dev-haskell/asn1-encoding/files/asn1-encoding-0.9.0-32bit-tests.patch |
19 |
deleted file mode 100644 |
20 |
index 2b45be985bb..00000000000 |
21 |
--- a/dev-haskell/asn1-encoding/files/asn1-encoding-0.9.0-32bit-tests.patch |
22 |
+++ /dev/null |
23 |
@@ -1,24 +0,0 @@ |
24 |
-On 32-bit systems Hourglass silently breaks dates |
25 |
-out of range '1970 +- 68' years due to use of |
26 |
-'time_t' and 'gmtime_r' from installed libc. |
27 |
- |
28 |
-Workaround test failures by not testing times out of this range. |
29 |
- |
30 |
-Github-bug: https://github.com/vincenthz/hs-hourglass/issues/21 |
31 |
-Github-bug: https://github.com/vincenthz/hs-asn1/issues/12 |
32 |
-diff --git a/tests/Tests.hs b/tests/Tests.hs |
33 |
-index 5a82ec9..525de82 100644 |
34 |
---- a/tests/Tests.hs |
35 |
-+++ b/tests/Tests.hs |
36 |
-@@ -88,7 +88,10 @@ instance Arbitrary BitArray where |
37 |
- |
38 |
- instance Arbitrary Date where |
39 |
- arbitrary = do |
40 |
-- y <- choose (1951, 2050) |
41 |
-+ -- 2037 and not 2050 |
42 |
-+ -- due to a limitation of 'timeConvert' on 32-bit systems: |
43 |
-+ -- https://github.com/vincenthz/hs-hourglass/issues/21 |
44 |
-+ y <- choose (1951, 2037) |
45 |
- m <- elements [ January .. December] |
46 |
- d <- choose (1, 30) |
47 |
- return $ normalizeDate $ Date y m d |