From 99f1aa330f83cad41abac0ac6389bd3bd8731a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Aug 2025 16:16:29 +0700 Subject: [PATCH] cgal: for boost-1.89 --- srcpkgs/cgal/patches/boost-system.patch | 11 +++++++++++ srcpkgs/cgal/template | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/cgal/patches/boost-system.patch diff --git a/srcpkgs/cgal/patches/boost-system.patch b/srcpkgs/cgal/patches/boost-system.patch new file mode 100644 index 00000000000..9f6edd53987 --- /dev/null +++ b/srcpkgs/cgal/patches/boost-system.patch @@ -0,0 +1,11 @@ +--- a/cmake/modules/CGAL_SetupCGAL_CoreDependencies.cmake ++++ b/cmake/modules/CGAL_SetupCGAL_CoreDependencies.cmake +@@ -56,7 +56,7 @@ endif() + # See the release notes of CGAL-4.10: CGAL_Core now requires + # Boost.Thread, with all compilers but MSVC. + if (NOT MSVC) +- find_package( Boost 1.48 REQUIRED COMPONENTS thread system ) ++ find_package( Boost 1.48 REQUIRED COMPONENTS thread ) + endif() + + function(CGAL_setup_CGAL_Core_dependencies target) diff --git a/srcpkgs/cgal/template b/srcpkgs/cgal/template index 01f2bbd6915..d1d25ad7eb0 100644 --- a/srcpkgs/cgal/template +++ b/srcpkgs/cgal/template @@ -1,10 +1,10 @@ # Template file for 'cgal' pkgname=cgal version=4.14 -revision=8 +revision=9 build_style=cmake build_helper="qemu" -makedepends="boost-devel-minimal libboost_thread libboost_system +makedepends="boost-devel-minimal libboost_thread eigen mpfr-devel zlib-devel" short_desc="Computational Geometry Algorithms Library" maintainer="Pierre Allegraud "