aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-06-12 09:26:40 +0200
committerLudovic Courtès <ludo@gnu.org>2018-06-12 15:23:34 +0200
commitb5edc4791240d06aae07d6b8c4cb7a7b3f1937b1 (patch)
tree23360b416254955ddf2c4d64efe3f9ad26788b80 /gnu/packages/maths.scm
parentfeed5194b10187891ddb04c0855d02a4e31aa720 (diff)
downloadpatches-b5edc4791240d06aae07d6b8c4cb7a7b3f1937b1.tar
patches-b5edc4791240d06aae07d6b8c4cb7a7b3f1937b1.tar.gz
gnu: flann: Fix builds with CMake >= 3.11.
* gnu/packages/patches/flann-cmake-3.11.patch: New file. * gnu/packages/maths.scm (flann)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ee5be3ed5d..208a75cbcd 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3372,7 +3372,8 @@ in finite element programs.")
version "-src.zip"))
(sha256
(base32
- "022w8hph7bli5zbpnk3z1qh1c2sl5hm8fw2ccim651ynn0hr7fyz"))))
+ "022w8hph7bli5zbpnk3z1qh1c2sl5hm8fw2ccim651ynn0hr7fyz"))
+ (patches (search-patches "flann-cmake-3.11.patch"))))
(build-system cmake-build-system)
(outputs '("out"
"octave")) ;46 MiB .mex file that pulls Octave