[DHG_packages] 01/27: darcs: New patch, trying to fix buiding on powerpc

Joachim Breitner nomeata at moszumanska.debian.org
Thu Jul 16 13:39:12 UTC 2015


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

nomeata pushed a commit to branch master
in repository DHG_packages.

commit d57ede0ac9d969786a4cb4f101a589289c3d750c
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Wed Jul 15 19:36:25 2015 +0200

    darcs: New patch, trying to fix buiding on powerpc
---
 p/darcs/debian/changelog              |  6 ++++++
 p/darcs/debian/patches/Num-constraint | 13 +++++++++++++
 p/darcs/debian/patches/series         |  1 +
 3 files changed, 20 insertions(+)

diff --git a/p/darcs/debian/changelog b/p/darcs/debian/changelog
index 8b1fb22..403b5ad 100644
--- a/p/darcs/debian/changelog
+++ b/p/darcs/debian/changelog
@@ -1,3 +1,9 @@
+darcs (2.10.1-2) unstable; urgency=medium
+
+  * New patch, trying to fix buiding on powerpc 
+
+ -- Joachim Breitner <nomeata at debian.org>  Wed, 15 Jul 2015 19:36:04 +0200
+
 darcs (2.10.1-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/p/darcs/debian/patches/Num-constraint b/p/darcs/debian/patches/Num-constraint
new file mode 100644
index 0000000..52a00e4
--- /dev/null
+++ b/p/darcs/debian/patches/Num-constraint
@@ -0,0 +1,13 @@
+Index: darcs/hashed-storage/Storage/Hashed/Utils.hs
+===================================================================
+--- darcs.orig/hashed-storage/Storage/Hashed/Utils.hs	2015-07-09 18:48:56.000000000 +0200
++++ darcs/hashed-storage/Storage/Hashed/Utils.hs	2015-07-15 19:35:55.341427506 +0200
+@@ -100,7 +100,7 @@
+ #endif
+ 
+ #ifdef BIGENDIAN
+-bytemask :: (Bits a) => a
++bytemask :: (Num a, Bits a) => a
+ bytemask = 255
+ 
+ xlate32 a = ((a .&. (bytemask `shift`  0)) `shiftL` 24) .|.
diff --git a/p/darcs/debian/patches/series b/p/darcs/debian/patches/series
index ead731b..0a7ede8 100644
--- a/p/darcs/debian/patches/series
+++ b/p/darcs/debian/patches/series
@@ -1,2 +1,3 @@
 use-sensible-editor
 avoid-TH-in-Setup
+Num-constraint

-- 
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