Merge pull request #14376 from acowley/qhull
qhull: darwin compatibility
This commit is contained in:
commit
2e2a87e57a
@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = "-DMAN_INSTALL_DIR=share/man/man1 -DDOC_INSTALL_DIR=share/doc/qhull";
|
||||
|
||||
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i 's/namespace std { struct bidirectional_iterator_tag; struct random_access_iterator_tag; }/#include <iterator>/' ./src/libqhullcpp/QhullIterator.h
|
||||
sed -i 's/namespace std { struct bidirectional_iterator_tag; struct random_access_iterator_tag; }/#include <iterator>/' ./src/libqhullcpp/QhullLinkedList.h
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.qhull.org/;
|
||||
description = "Computes the convex hull, Delaunay triangulation, Voronoi diagram and more";
|
||||
|
Loading…
Reference in New Issue
Block a user