math/cgal: Apply a upstream patch to fix the build of dust3d with clang19

Reported by:	danfe@(via email)
This commit is contained in:
Wen Heping 2024-12-26 01:27:52 +00:00
parent 651b7ae26d
commit 0c0356dcf3
2 changed files with 12 additions and 1 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= cgal
PORTVERSION= 5.5.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= math
MASTER_SITES= https://github.com/${PORTNAME:tu}/${PORTNAME}/releases/download/v${PORTVERSION}/
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}

View file

@ -0,0 +1,11 @@
--- include/CGAL/AABB_tree.h.orig 2024-12-26 01:08:55 UTC
+++ include/CGAL/AABB_tree.h
@@ -553,7 +553,7 @@ namespace CGAL { (public)
traits.intersection(query, singleton_data());
break;
default: // if(size() >= 2)
- root_node()->template traversal_with_priority_and_group_traversal(m_primitives, query, traits, m_primitives.size(), 0, group_traversal_bound);
+ root_node()->traversal_with_priority_and_group_traversal(m_primitives, query, traits, m_primitives.size(), 0, group_traversal_bound);
}
}