summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-09-13 14:55:22 +0200
committerSergei Trofimovich <slyfox@gentoo.org>2020-09-14 08:05:38 +0100
commit60a248c51f57e87f1c388798827042389380d6f1 (patch)
treeb396fe12fbb42f98b0796da71e0a8f060416706f /dev-haskell/asn1-encoding/files
parentdev-libs/elfutils: remove unused patch (diff)
downloadgentoo-60a248c51f57e87f1c388798827042389380d6f1.tar.gz
gentoo-60a248c51f57e87f1c388798827042389380d6f1.tar.bz2
gentoo-60a248c51f57e87f1c388798827042389380d6f1.zip
dev-haskell/asn1-encoding: remove unused patch(es)
Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17522 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/asn1-encoding/files')
-rw-r--r--dev-haskell/asn1-encoding/files/asn1-encoding-0.9.0-32bit-tests.patch24
1 files changed, 0 insertions, 24 deletions
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
deleted file mode 100644
index 2b45be985bba..000000000000
--- a/dev-haskell/asn1-encoding/files/asn1-encoding-0.9.0-32bit-tests.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-On 32-bit systems Hourglass silently breaks dates
-out of range '1970 +- 68' years due to use of
-'time_t' and 'gmtime_r' from installed libc.
-
-Workaround test failures by not testing times out of this range.
-
-Github-bug: https://github.com/vincenthz/hs-hourglass/issues/21
-Github-bug: https://github.com/vincenthz/hs-asn1/issues/12
-diff --git a/tests/Tests.hs b/tests/Tests.hs
-index 5a82ec9..525de82 100644
---- a/tests/Tests.hs
-+++ b/tests/Tests.hs
-@@ -88,7 +88,10 @@ instance Arbitrary BitArray where
-
- instance Arbitrary Date where
- arbitrary = do
-- y <- choose (1951, 2050)
-+ -- 2037 and not 2050
-+ -- due to a limitation of 'timeConvert' on 32-bit systems:
-+ -- https://github.com/vincenthz/hs-hourglass/issues/21
-+ y <- choose (1951, 2037)
- m <- elements [ January .. December]
- d <- choose (1, 30)
- return $ normalizeDate $ Date y m d