[DHG_packages] 02/02: tls: Backport upstream testsuite fix on 32 bit arches.

Joachim Breitner nomeata at moszumanska.debian.org
Sat Dec 12 15:09:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to annotated tag haskell-tls_v1.3.2-2
in repository DHG_packages.

commit 5af1df5d24f355042050ca980490968dd05a5288
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sat Dec 12 15:56:16 2015 +0100

    tls: Backport upstream testsuite fix on 32 bit arches.
---
 p/haskell-tls/debian/changelog                     |  6 ++++++
 .../debian/patches/32-bit-testsuite-fix.patch      | 23 ++++++++++++++++++++++
 p/haskell-tls/debian/patches/series                |  1 +
 3 files changed, 30 insertions(+)

diff --git a/p/haskell-tls/debian/changelog b/p/haskell-tls/debian/changelog
index 9f1ce97..01ec717 100644
--- a/p/haskell-tls/debian/changelog
+++ b/p/haskell-tls/debian/changelog
@@ -1,3 +1,9 @@
+haskell-tls (1.3.2-2) unstable; urgency=medium
+
+  * Backport upstream testsuite fix on 32 bit arches.
+
+ -- Joachim Breitner <nomeata at debian.org>  Sat, 12 Dec 2015 15:55:40 +0100
+
 haskell-tls (1.3.2-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/p/haskell-tls/debian/patches/32-bit-testsuite-fix.patch b/p/haskell-tls/debian/patches/32-bit-testsuite-fix.patch
new file mode 100644
index 0000000..5bb39ad
--- /dev/null
+++ b/p/haskell-tls/debian/patches/32-bit-testsuite-fix.patch
@@ -0,0 +1,23 @@
+From 00b292df3e2434cde08d00ed13618a1f6b301e2a Mon Sep 17 00:00:00 2001
+From: Vincent Hanquez <vincent at snarc.org>
+Date: Sat, 12 Dec 2015 14:28:25 +0000
+Subject: [PATCH] [tests] Make sure we don't have any date outside the 32 bit
+ time_t range for 32 bit time_t architecture.
+
+---
+ core/Tests/Certificate.hs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: haskell-tls/Tests/Certificate.hs
+===================================================================
+--- haskell-tls.orig/Tests/Certificate.hs	2015-12-12 15:54:49.063639945 +0100
++++ haskell-tls/Tests/Certificate.hs	2015-12-12 15:54:57.963812039 +0100
+@@ -20,7 +20,7 @@
+ 
+ instance Arbitrary Date where
+     arbitrary = do
+-        y <- choose (1951, 2050)
++        y <- choose (1971, 2035)
+         m <- elements [ January .. December]
+         d <- choose (1, 30)
+         return $ normalizeDate $ Date y m d
diff --git a/p/haskell-tls/debian/patches/series b/p/haskell-tls/debian/patches/series
new file mode 100644
index 0000000..72b4ac8
--- /dev/null
+++ b/p/haskell-tls/debian/patches/series
@@ -0,0 +1 @@
+32-bit-testsuite-fix.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list