[Git][haskell-team/DHG_packages][master] cborg: Apply upstream patch to fix build when OPTIMIZE_GMP is disabled. closes: #933533.

Clint Adams gitlab at salsa.debian.org
Thu Aug 1 01:48:03 BST 2019



Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
6b8a8ff8 by Clint Adams at 2019-08-01T00:47:37Z
cborg: Apply upstream patch to fix build when OPTIMIZE_GMP is disabled.  closes: #933533.

- - - - -


3 changed files:

- p/haskell-cborg/debian/changelog
- + p/haskell-cborg/debian/patches/fix-x32-build
- p/haskell-cborg/debian/patches/series


Changes:

=====================================
p/haskell-cborg/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-cborg (0.2.1.0-2) UNRELEASED; urgency=medium
+
+  * Apply upstream patch to fix build when OPTIMIZE_GMP is disabled.
+    closes: #933533.
+
+ -- Clint Adams <clint at debian.org>  Wed, 31 Jul 2019 20:45:02 -0400
+
 haskell-cborg (0.2.1.0-1) unstable; urgency=medium
 
   * New upstream version.


=====================================
p/haskell-cborg/debian/patches/fix-x32-build
=====================================
@@ -0,0 +1,13 @@
+https://github.com/well-typed/cborg/commit/bd923f78bb0a2ba3fb1593a4c9267fe4eafe95cd
+
+--- a/src/Codec/CBOR/Magic.hs
++++ b/src/Codec/CBOR/Magic.hs
+@@ -104,7 +104,7 @@
+ 
+ import qualified Numeric.Half as Half
+ 
+-#if !defined(HAVE_BYTESWAP_PRIMOPS) || !defined(MEM_UNALIGNED_OPS)
++#if !defined(HAVE_BYTESWAP_PRIMOPS) || !defined(MEM_UNALIGNED_OPS) || !defined(OPTIMIZE_GMP)
+ import           Data.Bits ((.|.), unsafeShiftL)
+ #endif
+ 


=====================================
p/haskell-cborg/debian/patches/series
=====================================
@@ -1 +1,2 @@
 newer-deps
+fix-x32-build



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/6b8a8ff858d0e3680a46364438ee593b495f1275

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/6b8a8ff858d0e3680a46364438ee593b495f1275
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20190801/2032980a/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list