aboutsummaryrefslogtreecommitdiff
path: root/math/qhull
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2014-12-19 14:59:10 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2014-12-19 14:59:10 +0000
commit31fb3cf6226c1022897f910347ffc78a91b8a17c (patch)
treed81240740f98aeb08c4340e18c6ed66c25398bc8 /math/qhull
parentd5e3bcdc5f2e807f851de43b7b579922c9fdb5d6 (diff)
downloadports-31fb3cf6226c1022897f910347ffc78a91b8a17c.tar.gz
ports-31fb3cf6226c1022897f910347ffc78a91b8a17c.zip
Notes
Diffstat (limited to 'math/qhull')
-rw-r--r--math/qhull/files/patch-src__libqhullcpp__QhullIterator.h12
-rw-r--r--math/qhull/files/patch-src__libqhullcpp__QhullLinkedList.h11
2 files changed, 23 insertions, 0 deletions
diff --git a/math/qhull/files/patch-src__libqhullcpp__QhullIterator.h b/math/qhull/files/patch-src__libqhullcpp__QhullIterator.h
new file mode 100644
index 000000000000..1095dcb3e190
--- /dev/null
+++ b/math/qhull/files/patch-src__libqhullcpp__QhullIterator.h
@@ -0,0 +1,12 @@
+--- src/libqhullcpp/QhullIterator.h.orig 2012-01-26 04:32:05.000000000 +0100
++++ src/libqhullcpp/QhullIterator.h 2014-12-19 15:19:26.000000000 +0100
+@@ -16,8 +16,7 @@
+ #include <assert.h>
+ #include <string>
+ #include <vector>
+-//! Avoid dependence on <iterator>
+-namespace std { struct bidirectional_iterator_tag; struct random_access_iterator_tag; }
++#include <iterator>
+
+ namespace orgQhull {
+
diff --git a/math/qhull/files/patch-src__libqhullcpp__QhullLinkedList.h b/math/qhull/files/patch-src__libqhullcpp__QhullLinkedList.h
new file mode 100644
index 000000000000..80e77e953f86
--- /dev/null
+++ b/math/qhull/files/patch-src__libqhullcpp__QhullLinkedList.h
@@ -0,0 +1,11 @@
+--- src/libqhullcpp/QhullLinkedList.h.orig 2012-01-26 04:32:05.000000000 +0100
++++ src/libqhullcpp/QhullLinkedList.h 2014-12-19 15:19:26.000000000 +0100
+@@ -9,7 +9,7 @@
+ #ifndef QHULLLINKEDLIST_H
+ #define QHULLLINKEDLIST_H
+
+-namespace std { struct bidirectional_iterator_tag; struct random_access_iterator_tag; }
++#include <iterator>
+
+ #include "QhullError.h"
+