[Pkg-haskell-commits] darcs: haskell-unix-time: New upstream version 0.2.0.

Clint Adams clint at debian.org
Tue Sep 17 16:28:56 UTC 2013


Tue Sep 17 16:28:42 UTC 2013  Clint Adams <clint at debian.org>
  * New upstream version 0.2.0.

    M ./changelog +7
    M ./control -3 +3
    R ./patches/implicit-declaration.patch
    R ./patches/pass-valid-locale-name-to-newlocale.patch
    R ./patches/series
    M ./rules -1 +1

Tue Sep 17 16:28:42 UTC 2013  Clint Adams <clint at debian.org>
  * New upstream version 0.2.0.
diff -rN -u old-haskell-unix-time/changelog new-haskell-unix-time/changelog
--- old-haskell-unix-time/changelog	2013-09-17 16:28:56.561554496 +0000
+++ new-haskell-unix-time/changelog	2013-09-17 16:28:56.565546761 +0000
@@ -1,3 +1,10 @@
+haskell-unix-time (0.2.0-1) unstable; urgency=low
+
+  * New upstream version.
+  * Enable tests on all architectures now that they have changed.
+
+ -- Clint Adams <clint at debian.org>  Tue, 17 Sep 2013 12:00:16 -0400
+
 haskell-unix-time (0.1.2-4) unstable; urgency=low
 
   * Only enable tests on architectures with GHCi, due to use of Template
diff -rN -u old-haskell-unix-time/control new-haskell-unix-time/control
--- old-haskell-unix-time/control	2013-09-17 16:28:56.561554496 +0000
+++ new-haskell-unix-time/control	2013-09-17 16:28:56.565546761 +0000
@@ -8,9 +8,9 @@
              , cdbs
              , ghc
              , ghc-prof
-             , libghc-hspec-expectations-dev [any-amd64 any-i386 powerpc sparc]
-             , libghc-test-framework-hunit-dev [any-amd64 any-i386 powerpc sparc]
-             , libghc-test-framework-th-prime-dev [any-amd64 any-i386 powerpc sparc]
+             , libghc-hspec-dev (>> 1.5)
+             , libghc-quickcheck2-dev
+             , libghc-doctest-dev (>> 0.9.3)
 Build-Depends-Indep: ghc-doc
 Standards-Version: 3.9.4
 Homepage: http://hackage.haskell.org/package/unix-time
diff -rN -u old-haskell-unix-time/patches/implicit-declaration.patch new-haskell-unix-time/patches/implicit-declaration.patch
--- old-haskell-unix-time/patches/implicit-declaration.patch	2013-09-17 16:28:56.561554496 +0000
+++ new-haskell-unix-time/patches/implicit-declaration.patch	1970-01-01 00:00:00.000000000 +0000
@@ -1,19 +0,0 @@
-Description: Define _GNU_SOURCE for strptime_l
- Without this we get -Wimplicit-function-declaration warnings from GCC on
- non-Linux glibc-based architectures.
-Author: Colin Watson <cjwatson at debian.org>
-Forwarded: https://github.com/kazu-yamamoto/unix-time/pull/11
-Last-Update: 2013-06-15
-
-Index: b/cbits/conv.c
-===================================================================
---- a/cbits/conv.c
-+++ b/cbits/conv.c
-@@ -7,6 +7,7 @@
- #define _BSD_SOURCE
- #elif HAVE_STRPTIME_L
- #define THREAD_SAFE 1
-+#define _GNU_SOURCE
- #else
- #define THREAD_SAFE 0
- #endif
diff -rN -u old-haskell-unix-time/patches/pass-valid-locale-name-to-newlocale.patch new-haskell-unix-time/patches/pass-valid-locale-name-to-newlocale.patch
--- old-haskell-unix-time/patches/pass-valid-locale-name-to-newlocale.patch	2013-09-17 16:28:56.557542016 +0000
+++ new-haskell-unix-time/patches/pass-valid-locale-name-to-newlocale.patch	1970-01-01 00:00:00.000000000 +0000
@@ -1,21 +0,0 @@
-Description: Pass a valid locale name to newlocale
- FreeBSD libc treats a NULL second argument to newlocale as equivalent to
- "C", but glibc returns an error in that case, causing a segfault shortly
- afterwards when passing a NULL locale to strftime_l/strptime_l.
-Author: Colin Watson <cjwatson at debian.org>
-Forwarded: https://github.com/kazu-yamamoto/unix-time/pull/11
-Last-Update: 2013-06-15
-
-Index: b/cbits/conv.c
-===================================================================
---- a/cbits/conv.c
-+++ b/cbits/conv.c
-@@ -21,7 +21,7 @@
- locale_t c_locale = NULL;
- 
- void init_locale() {
--    if (c_locale == NULL) c_locale = newlocale(LC_TIME_MASK, NULL, NULL);
-+    if (c_locale == NULL) c_locale = newlocale(LC_TIME_MASK, "C", NULL);
- }
- #else
- void init_locale() {
diff -rN -u old-haskell-unix-time/patches/series new-haskell-unix-time/patches/series
--- old-haskell-unix-time/patches/series	2013-09-17 16:28:56.557542016 +0000
+++ new-haskell-unix-time/patches/series	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-implicit-declaration.patch
-pass-valid-locale-name-to-newlocale.patch
diff -rN -u old-haskell-unix-time/rules new-haskell-unix-time/rules
--- old-haskell-unix-time/rules	2013-09-17 16:28:56.557542016 +0000
+++ new-haskell-unix-time/rules	2013-09-17 16:28:56.569545083 +0000
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-DEB_ENABLE_TESTS = $(shell test -e /usr/lib/ghc/bin/ghci && echo yes)
+DEB_ENABLE_TESTS = yes # $(shell test -e /usr/lib/ghc/bin/ghci && echo yes)
 
 # the test suite assumes it's being run under Japan Standard Time
 export TZ = Etc/GMT-9




More information about the Pkg-haskell-commits mailing list