mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
math/cgal: Fix with boost > 1.67
prior() and next() have been moved to its own header. cad/PrusaSlicer fails to build when including Plane_3_Triangle_3_intersection.h PR: 277480 Approved by: maintainer’s time-out
This commit is contained in:
parent
9f0167a70b
commit
3f70a5476f
2 changed files with 16 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= cgal
|
PORTNAME= cgal
|
||||||
PORTVERSION= 5.5.1
|
PORTVERSION= 5.5.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
MASTER_SITES= https://github.com/${PORTNAME:tu}/${PORTNAME}/releases/download/v${PORTVERSION}/
|
MASTER_SITES= https://github.com/${PORTNAME:tu}/${PORTNAME}/releases/download/v${PORTVERSION}/
|
||||||
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
|
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
--- include/CGAL/Intersections_3/internal/Plane_3_Triangle_3_intersection.h.orig 2024-03-04 16:56:49 UTC
|
||||||
|
+++ include/CGAL/Intersections_3/internal/Plane_3_Triangle_3_intersection.h
|
||||||
|
@@ -13,6 +13,12 @@
|
||||||
|
#ifndef CGAL_INTERNAL_INTERSECTIONS_PLANE_3_TRIANGLE_3_INTERSECTION_H
|
||||||
|
#define CGAL_INTERNAL_INTERSECTIONS_PLANE_3_TRIANGLE_3_INTERSECTION_H
|
||||||
|
|
||||||
|
+#include <boost/version.hpp>
|
||||||
|
+#if BOOST_VERSION >= 106700
|
||||||
|
+#include <boost/next_prior.hpp>
|
||||||
|
+#else
|
||||||
|
+#include <boost/utility.hpp>
|
||||||
|
+#endif
|
||||||
|
#include <CGAL/Intersection_traits_3.h>
|
||||||
|
#include <CGAL/Intersections_3/internal/Line_3_Plane_3_intersection.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue