Merge branch 'develop' of https://github.com/LLNL/spack into features/install_with_phases_rebase
Conflicts: lib/spack/spack/build_environment.py lib/spack/spack/package.py var/spack/repos/builtin/packages/astyle/package.py var/spack/repos/builtin/packages/lzo/package.py var/spack/repos/builtin/packages/openjpeg/package.py var/spack/repos/builtin/packages/swiftsim/package.py
This commit is contained in:
@@ -37,16 +37,13 @@ class Qhull(CMakePackage):
|
||||
|
||||
homepage = "http://www.qhull.org"
|
||||
|
||||
version('7.2.0', 'e6270733a826a6a7c32b796e005ec3dc',
|
||||
version('2015.2', 'e6270733a826a6a7c32b796e005ec3dc',
|
||||
url="http://www.qhull.org/download/qhull-2015-src-7.2.0.tgz")
|
||||
|
||||
version('1.0', 'd0f978c0d8dfb2e919caefa56ea2953c',
|
||||
version('2012.1', 'd0f978c0d8dfb2e919caefa56ea2953c',
|
||||
url="http://www.qhull.org/download/qhull-2012.1-src.tgz")
|
||||
|
||||
# https://github.com/qhull/qhull/pull/5
|
||||
patch('qhull-iterator.patch', when='@1.0')
|
||||
|
||||
depends_on('cmake', type='build')
|
||||
depends_on('cmake@2.6:', type='build')
|
||||
|
||||
@CMakePackage.sanity_check('build')
|
||||
@CMakePackage.on_package_attributes(run_tests=True)
|
||||
|
@@ -1,45 +0,0 @@
|
||||
From 93f4b306c54bb5be7724dcc19c6e747b62ac76dd Mon Sep 17 00:00:00 2001
|
||||
From: Ben Boeckel <mathstuf@gmail.com>
|
||||
Date: Thu, 28 May 2015 11:12:25 -0400
|
||||
Subject: [PATCH] iterator: use the header
|
||||
|
||||
Standard libraries are doing funky things with inline namespaces which
|
||||
make these declarations impossible to get right. Just include the
|
||||
header.
|
||||
---
|
||||
src/libqhullcpp/QhullIterator.h | 3 +--
|
||||
src/libqhullcpp/QhullLinkedList.h | 5 +----
|
||||
2 files changed, 2 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/src/libqhullcpp/QhullIterator.h b/src/libqhullcpp/QhullIterator.h
|
||||
index 9dde894..49f3a3b 100644
|
||||
--- a/src/libqhullcpp/QhullIterator.h
|
||||
+++ b/src/libqhullcpp/QhullIterator.h
|
||||
@@ -14,10 +14,9 @@ extern "C" {
|
||||
}
|
||||
|
||||
#include <assert.h>
|
||||
+#include <iterator>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
-//! Avoid dependence on <iterator>
|
||||
-namespace std { struct bidirectional_iterator_tag; struct random_access_iterator_tag; }
|
||||
|
||||
namespace orgQhull {
|
||||
|
||||
diff --git a/src/libqhullcpp/QhullLinkedList.h b/src/libqhullcpp/QhullLinkedList.h
|
||||
index d828ac6..00b9008 100644
|
||||
--- a/src/libqhullcpp/QhullLinkedList.h
|
||||
+++ b/src/libqhullcpp/QhullLinkedList.h
|
||||
@@ -9,10 +9,7 @@
|
||||
#ifndef QHULLLINKEDLIST_H
|
||||
#define QHULLLINKEDLIST_H
|
||||
|
||||
-namespace std {
|
||||
- struct bidirectional_iterator_tag;
|
||||
- struct random_access_iterator_tag;
|
||||
-}//std
|
||||
+#include <iterator>
|
||||
|
||||
#include "QhullError.h"
|
||||
extern "C" {
|
Reference in New Issue
Block a user