[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/63: gnu: lpsolve: Fix compilation issue.
From: |
Mark H. Weaver |
Subject: |
13/63: gnu: lpsolve: Fix compilation issue. |
Date: |
Thu, 4 Aug 2016 07:44:55 +0000 (UTC) |
mhw pushed a commit to branch core-updates-2016-08-01
in repository guix.
commit 5dbfbef7292a43029b17e89d682d9e24703d5cd2
Author: Ludovic Courtès <address@hidden>
Date: Tue Jul 26 00:42:05 2016 +0200
gnu: lpsolve: Fix compilation issue.
Reported by Andreas Enge <address@hidden>
at <https://lists.gnu.org/archive/html/guix-devel/2016-07/msg01018.html>.
* gnu/packages/maths.scm (lpsolve)[source]: Augment 'snippet'.
---
gnu/packages/maths.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0e6fda3..9f10933 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2189,7 +2189,14 @@ specifications.")
;; Pretend to be on a 64 bit platform to obtain a common directory
;; name for the build results on all architectures; nothing else
;; seems to depend on it.
- (("^PLATFORM=.*$") "PLATFORM=ux64\n")))))
+ (("^PLATFORM=.*$") "PLATFORM=ux64\n")
+
+ ;; The check for 'isnan' as it is written fails with
+ ;; "non-floating-point argument in call to function
+ ;; ‘__builtin_isnan’", which leads to the 'NOISNAN' cpp macro
+ ;; definition, which in turn leads to bad things. Fix the feature
+ ;; test.
+ (("isnan\\(0\\)") "isnan(0.)")))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no check target
- branch core-updates-2016-08-01 created (now a8cb87a), Mark H. Weaver, 2016/08/04
- 01/63: gnu: gnutls: Update to 3.5.2., Mark H. Weaver, 2016/08/04
- 03/63: gnu: mozjs: Disable parallel build., Mark H. Weaver, 2016/08/04
- 05/63: gnu: libepoxy: Update to 1.3.1., Mark H. Weaver, 2016/08/04
- 14/63: gnu: lout: Build with ghostscript-gs., Mark H. Weaver, 2016/08/04
- 07/63: Merge branch 'master' into core-updates, Mark H. Weaver, 2016/08/04
- 06/63: gnu: bitcoin-core: Build with bdb-5.3., Mark H. Weaver, 2016/08/04
- 09/63: gnu: Use 'ghostscript-gs' in packages that need the 'gs' command., Mark H. Weaver, 2016/08/04
- 13/63: gnu: lpsolve: Fix compilation issue.,
Mark H. Weaver <=
- 15/63: gnu: lout: Make ghostscript-gs a native input., Mark H. Weaver, 2016/08/04
- 19/63: gnu: address@hidden: Delete faulty test on mips64el only., Mark H. Weaver, 2016/08/04
- 18/63: gnu: python-2.7: Disable test failing on mips64el-linux., Mark H. Weaver, 2016/08/04
- 11/63: gnu: fastcap: Build with ghostscript-gs., Mark H. Weaver, 2016/08/04
- 17/63: gnu: skribilo: Add input ghostscript-gs., Mark H. Weaver, 2016/08/04
- 21/63: gnu: asymptote: Add native input gs., Mark H. Weaver, 2016/08/04
- 35/63: gnu: r-bsgenome: Update to 1.40.1., Mark H. Weaver, 2016/08/04
- 31/63: gnu: r-genomicranges: Update to 1.24.2., Mark H. Weaver, 2016/08/04
- 16/63: gnu: lout: Add input ghostscript., Mark H. Weaver, 2016/08/04
- 08/63: gnu: Add 'ghostscript-gs' and 'ghostscript-gs-with-x'., Mark H. Weaver, 2016/08/04