svn commit: r374949 - head/math/qhull/files

Stephen Montgomery-Smith stephen at FreeBSD.org
Fri Dec 19 14:59:11 UTC 2014


Author: stephen
Date: Fri Dec 19 14:59:10 2014
New Revision: 374949
URL: https://svnweb.freebsd.org/changeset/ports/374949
QAT: https://qat.redports.org/buildarchive/r374949/

Log:
  - Fix build error with clang 3.5.0.
  
  PR:		196127
  Submitted by:	Dimitry Andric <dim at FreeBSD.org>

Added:
  head/math/qhull/files/patch-src__libqhullcpp__QhullIterator.h   (contents, props changed)
  head/math/qhull/files/patch-src__libqhullcpp__QhullLinkedList.h   (contents, props changed)

Added: head/math/qhull/files/patch-src__libqhullcpp__QhullIterator.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/qhull/files/patch-src__libqhullcpp__QhullIterator.h	Fri Dec 19 14:59:10 2014	(r374949)
@@ -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 {
+ 

Added: head/math/qhull/files/patch-src__libqhullcpp__QhullLinkedList.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/qhull/files/patch-src__libqhullcpp__QhullLinkedList.h	Fri Dec 19 14:59:10 2014	(r374949)
@@ -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"
+ 


More information about the svn-ports-head mailing list