From 996e3bbbd9604ccc099d78e3a4aa33b213b93663 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:33 +0700 Subject: [PATCH] lms: for boost-1.89 --- srcpkgs/lms/patches/boost-1.89.patch | 31 ++++++++++++++++++++++++++++ srcpkgs/lms/template | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/lms/patches/boost-1.89.patch diff --git a/srcpkgs/lms/patches/boost-1.89.patch b/srcpkgs/lms/patches/boost-1.89.patch new file mode 100644 index 00000000000..f7e834234b3 --- /dev/null +++ b/srcpkgs/lms/patches/boost-1.89.patch @@ -0,0 +1,31 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -21,7 +21,7 @@ endif() + find_package(PkgConfig REQUIRED) + find_package(Threads REQUIRED) + find_package(Filesystem REQUIRED) +-find_package(Boost REQUIRED COMPONENTS system program_options iostreams) ++find_package(Boost REQUIRED COMPONENTS program_options iostreams) + find_package(Wt REQUIRED COMPONENTS Wt Dbo DboSqlite3 HTTP) + + # WT +--- a/src/libs/core/CMakeLists.txt ++++ b/src/libs/core/CMakeLists.txt +@@ -49,7 +49,6 @@ target_link_libraries(lmscore PRIVATE + ) + + target_link_libraries(lmscore PUBLIC +- Boost::system + std::filesystem + Wt::Wt + ) +--- a/src/libs/services/auth/CMakeLists.txt ++++ b/src/libs/services/auth/CMakeLists.txt +@@ -19,7 +19,6 @@ target_include_directories(lmsauth PRIVA + ) + + target_link_libraries(lmsauth PUBLIC +- Boost::system + Wt::Wt + lmscore + lmsdatabase diff --git a/srcpkgs/lms/template b/srcpkgs/lms/template index 66892f9cf33..e90531feb76 100644 --- a/srcpkgs/lms/template +++ b/srcpkgs/lms/template @@ -1,7 +1,7 @@ # Template file for 'lms' pkgname=lms version=3.69.0 -revision=2 +revision=3 build_style=cmake configure_args="-DLMS_IMAGE_BACKEND=graphicsmagick" hostmakedepends="pkg-config"