diff options
author | Robin Gloster <mail@glob.in> | 2016-04-18 13:00:40 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-04-18 13:49:22 +0000 |
commit | d020caa5b2eca90ea051403fbb4c52b99ee071b9 (patch) | |
tree | ba44ef1e784bca89e0df6b249956fd035b1d86e3 /pkgs/development/libraries/qhull | |
parent | 3e68106afd95df012ddb548575f0133681687a90 (diff) | |
parent | 0729f606973870c03d21bb2f21b70d91216943ca (diff) | |
download | nixpkgs-d020caa5b2eca90ea051403fbb4c52b99ee071b9.tar nixpkgs-d020caa5b2eca90ea051403fbb4c52b99ee071b9.tar.gz nixpkgs-d020caa5b2eca90ea051403fbb4c52b99ee071b9.tar.bz2 nixpkgs-d020caa5b2eca90ea051403fbb4c52b99ee071b9.tar.lz nixpkgs-d020caa5b2eca90ea051403fbb4c52b99ee071b9.tar.xz nixpkgs-d020caa5b2eca90ea051403fbb4c52b99ee071b9.tar.zst nixpkgs-d020caa5b2eca90ea051403fbb4c52b99ee071b9.zip |
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
Diffstat (limited to 'pkgs/development/libraries/qhull')
-rw-r--r-- | pkgs/development/libraries/qhull/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qhull/default.nix b/pkgs/development/libraries/qhull/default.nix index 011e133720f..f2bac09f4bc 100644 --- a/pkgs/development/libraries/qhull/default.nix +++ b/pkgs/development/libraries/qhull/default.nix @@ -14,6 +14,11 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; + 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"; |