[Pkg-haskell-commits] darcs: haskell-hashable: Disable calls to mmap in testsuite, whose failure prevented build

Louis Bettens louis at bettens.info
Wed Oct 23 20:55:44 UTC 2013


Wed Oct 23 20:44:48 UTC 2013  Louis Bettens <louis at bettens.info>
  * Disable calls to mmap in testsuite, whose failure prevented build

    M ./changelog +6
    A ./patches/
    A ./patches/disable_mmap_on_some_arches
    A ./patches/series

Wed Oct 23 20:44:48 UTC 2013  Louis Bettens <louis at bettens.info>
  * Disable calls to mmap in testsuite, whose failure prevented build
diff -rN -u old-haskell-hashable/changelog new-haskell-hashable/changelog
--- old-haskell-hashable/changelog	2013-10-23 20:55:43.875043631 +0000
+++ new-haskell-hashable/changelog	2013-10-23 20:55:43.894379852 +0000
@@ -1,3 +1,9 @@
+haskell-hashable (1.2.1.0-2) unstable; urgency=low
+
+  * Disable calls to mmap in testsuite, whose failure prevented build
+
+ -- Louis Bettens <louis at bettens.info>  Wed, 23 Oct 2013 22:21:51 +0200
+
 haskell-hashable (1.2.1.0-1) unstable; urgency=low
 
   [ Joachim Breitner ]
diff -rN -u old-haskell-hashable/patches/disable_mmap_on_some_arches new-haskell-hashable/patches/disable_mmap_on_some_arches
--- old-haskell-hashable/patches/disable_mmap_on_some_arches	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hashable/patches/disable_mmap_on_some_arches	2013-10-23 20:55:43.899039596 +0000
@@ -0,0 +1,18 @@
+Description: disable calls to mmap() on some arches
+That is armel, armhf, mips, mipsel and powerpc, where mmap fails with EINVAL.
+Author: Louis Bettens <louis at bettens.info>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: haskell-hashable-1.2.1.0/hashable.cabal
+===================================================================
+--- haskell-hashable-1.2.1.0.orig/hashable.cabal	2013-09-13 23:31:52.000000000 +0200
++++ haskell-hashable-1.2.1.0/hashable.cabal	2013-10-23 22:30:39.000000000 +0200
+@@ -77,7 +77,7 @@
+                      QuickCheck >= 2.4.0.1,
+                      random == 1.0.*,
+                      text >= 0.11.0.5
+-  if !os(windows)
++  if !os(windows) && !(arch(armel) || arch(armhf) || arch(mips) || arch(mipsel) || arch(powerpc))
+     Build-depends:   unix
+     CPP-options:     -DHAVE_MMAP
+     Other-modules:   Regress.Mmap
diff -rN -u old-haskell-hashable/patches/series new-haskell-hashable/patches/series
--- old-haskell-hashable/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hashable/patches/series	2013-10-23 20:55:43.899039596 +0000
@@ -0,0 +1 @@
+disable_mmap_on_some_arches




More information about the Pkg-haskell-commits mailing list