[DHG_packages] 03/05: double-conversion: Build against system double-conversion library
James McCoy
jamessan at debian.org
Sun May 1 18:12:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch master
in repository DHG_packages.
commit cfc67b9fa8a211de3e4b5afb2e12b2c3e8d43284
Author: James McCoy <jamessan at jamessan.com>
Date: Sun May 1 13:54:54 2016 -0400
double-conversion: Build against system double-conversion library
---
p/haskell-double-conversion/debian/patches/series | 1 +
.../debian/patches/use-system-lib.diff | 33 ++++++++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/p/haskell-double-conversion/debian/patches/series b/p/haskell-double-conversion/debian/patches/series
new file mode 100644
index 0000000..feacf2e
--- /dev/null
+++ b/p/haskell-double-conversion/debian/patches/series
@@ -0,0 +1 @@
+use-system-lib.diff
diff --git a/p/haskell-double-conversion/debian/patches/use-system-lib.diff b/p/haskell-double-conversion/debian/patches/use-system-lib.diff
new file mode 100644
index 0000000..5c9a8fe
--- /dev/null
+++ b/p/haskell-double-conversion/debian/patches/use-system-lib.diff
@@ -0,0 +1,33 @@
+--- a/cbits/hs-double-conversion.cc
++++ b/cbits/hs-double-conversion.cc
+@@ -1,4 +1,4 @@
+-#include "double-conversion.h"
++#include "double-conversion/double-conversion.h"
+ #include "hs-double-conversion.h"
+ #include <stdio.h>
+
+--- a/double-conversion.cabal
++++ b/double-conversion.cabal
+@@ -62,19 +62,12 @@
+ library
+ c-sources:
+ cbits/hs-double-conversion.cc
+- double-conversion/src/bignum.cc
+- double-conversion/src/bignum-dtoa.cc
+- double-conversion/src/cached-powers.cc
+- double-conversion/src/diy-fp.cc
+- double-conversion/src/double-conversion.cc
+- double-conversion/src/fast-dtoa.cc
+- double-conversion/src/fixed-dtoa.cc
+- double-conversion/src/strtod.cc
+
+- extra-libraries: stdc++
++ extra-libraries:
++ stdc++
++ double-conversion
+
+ include-dirs:
+- double-conversion/src
+ include
+
+ exposed-modules:
--
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