diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-09 18:38:38 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-09 18:38:38 +0800 |
commit | 3671904dedd1c65f56164a774831edf8feff770e (patch) | |
tree | d09eb0e6166161860acba44a3080525e70289f89 /math | |
parent | 87767c121eeba050f439f7f8044a48a460f44d5d (diff) | |
download | freebsd-ports-gnome-3671904dedd1c65f56164a774831edf8feff770e.tar.gz freebsd-ports-gnome-3671904dedd1c65f56164a774831edf8feff770e.tar.zst freebsd-ports-gnome-3671904dedd1c65f56164a774831edf8feff770e.zip |
- Fix build of cgal consumers (sfcgal) with boost 1.60
PR: 199601
Approved by: portmgr blanket
Diffstat (limited to 'math')
-rw-r--r-- | math/cgal/Makefile | 1 | ||||
-rw-r--r-- | math/cgal/files/patch-include_CGAL_Straight__skeleton_2_Straight_skeleton_builder_2_impl.h | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/math/cgal/Makefile b/math/cgal/Makefile index b3accfdccb35..b8cef342a96f 100644 --- a/math/cgal/Makefile +++ b/math/cgal/Makefile @@ -3,6 +3,7 @@ PORTNAME= cgal PORTVERSION= 4.6 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://gforge.inria.fr/frs/download.php/34703/ DISTNAME= CGAL-${PORTVERSION} diff --git a/math/cgal/files/patch-include_CGAL_Straight__skeleton_2_Straight_skeleton_builder_2_impl.h b/math/cgal/files/patch-include_CGAL_Straight__skeleton_2_Straight_skeleton_builder_2_impl.h new file mode 100644 index 000000000000..17aeede9dc54 --- /dev/null +++ b/math/cgal/files/patch-include_CGAL_Straight__skeleton_2_Straight_skeleton_builder_2_impl.h @@ -0,0 +1,16 @@ +--- include/CGAL/Straight_skeleton_2/Straight_skeleton_builder_2_impl.h.orig 2014-08-29 14:14:56 UTC ++++ include/CGAL/Straight_skeleton_2/Straight_skeleton_builder_2_impl.h +@@ -21,6 +21,13 @@ + + #include <boost/bind.hpp> + #include <boost/utility.hpp> ++ ++// Workaround for boost bug #11880 ++#include <boost/version.hpp> ++#if BOOST_VERSION == 106000 ++ #include <boost/type_traits/ice.hpp> ++#endif ++ + #include <boost/graph/adjacency_matrix.hpp> + #include <CGAL/Unique_hash_map.h> + |