summaryrefslogtreecommitdiff
path: root/p/haskell-hashable
diff options
context:
space:
mode:
authorLouis Bettens <louis@bettens.info>2013-10-24 00:44:48 +0400
committerLouis Bettens <louis@bettens.info>2013-10-24 00:44:48 +0400
commit556c59949a8838f0646efcff1fbf6b63df2e9154 (patch)
tree09fa7426065ddf20c8b8a325ef965979d8499041 /p/haskell-hashable
parent0890f0f63af372f2ab09370dc37ab8da6bbc48fe (diff)
downloadDHG_packages-556c59949a8838f0646efcff1fbf6b63df2e9154.tar.gz
haskell-hashable: Disable calls to mmap in testsuite, whose failure prevented build
Diffstat (limited to 'p/haskell-hashable')
-rw-r--r--p/haskell-hashable/debian/changelog6
-rw-r--r--p/haskell-hashable/debian/patches/disable_mmap_on_some_arches18
-rw-r--r--p/haskell-hashable/debian/patches/series1
3 files changed, 25 insertions, 0 deletions
diff --git a/p/haskell-hashable/debian/changelog b/p/haskell-hashable/debian/changelog
index f3995688f..3d51b7107 100644
--- a/p/haskell-hashable/debian/changelog
+++ b/p/haskell-hashable/debian/changelog
@@ -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@bettens.info> Wed, 23 Oct 2013 22:21:51 +0200
+
haskell-hashable (1.2.1.0-1) unstable; urgency=low
[ Joachim Breitner ]
diff --git a/p/haskell-hashable/debian/patches/disable_mmap_on_some_arches b/p/haskell-hashable/debian/patches/disable_mmap_on_some_arches
new file mode 100644
index 000000000..98a570c19
--- /dev/null
+++ b/p/haskell-hashable/debian/patches/disable_mmap_on_some_arches
@@ -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@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 --git a/p/haskell-hashable/debian/patches/series b/p/haskell-hashable/debian/patches/series
new file mode 100644
index 000000000..b4acadde0
--- /dev/null
+++ b/p/haskell-hashable/debian/patches/series
@@ -0,0 +1 @@
+disable_mmap_on_some_arches