git: 0c0356dcf3a0 - main - math/cgal: Apply a upstream patch to fix the build of dust3d with clang19
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Dec 2024 01:30:20 UTC
The branch main has been updated by wen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0c0356dcf3a01606bfabab665bd9ec8c605e715d
commit 0c0356dcf3a01606bfabab665bd9ec8c605e715d
Author: Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-12-26 01:27:52 +0000
Commit: Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-12-26 01:30:00 +0000
math/cgal: Apply a upstream patch to fix the build of dust3d with clang19
Reported by: danfe@(via email)
---
math/cgal/Makefile | 2 +-
math/cgal/files/patch-include_CGAL_AABB__tree.h | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/math/cgal/Makefile b/math/cgal/Makefile
index 1b1b5174c0a9..3f4a85029077 100644
--- a/math/cgal/Makefile
+++ b/math/cgal/Makefile
@@ -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}
diff --git a/math/cgal/files/patch-include_CGAL_AABB__tree.h b/math/cgal/files/patch-include_CGAL_AABB__tree.h
new file mode 100644
index 000000000000..0d81d2cb1f87
--- /dev/null
+++ b/math/cgal/files/patch-include_CGAL_AABB__tree.h
@@ -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);
+ }
+ }
+