commit: 8114ab0c18e0f25337df828f15078d8b102c2d98 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> AuthorDate: Sat Jan 10 09:55:14 2026 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Sat Jan 10 09:55:25 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8114ab0c
media-gfx/prusaslicer: added patch for boost 1.89 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> .../files/prusaslicer-2.9.4-boost-1.89.patch | 38 ++++++++++++++++++++++ media-gfx/prusaslicer/prusaslicer-2.9.4.ebuild | 3 +- media-gfx/prusaslicer/prusaslicer-9999.ebuild | 3 +- 3 files changed, 42 insertions(+), 2 deletions(-) diff --git a/media-gfx/prusaslicer/files/prusaslicer-2.9.4-boost-1.89.patch b/media-gfx/prusaslicer/files/prusaslicer-2.9.4-boost-1.89.patch new file mode 100644 index 000000000000..a06aa0383299 --- /dev/null +++ b/media-gfx/prusaslicer/files/prusaslicer-2.9.4-boost-1.89.patch @@ -0,0 +1,38 @@ +From ec56226d71a345c01c4ae668a78003e0e893ee7d Mon Sep 17 00:00:00 2001 +From: Paul Zander <[email protected]> +Date: Fri, 9 Jan 2026 14:54:28 +0100 +Subject: [PATCH] boost 1.89 + +`Boost::system` is not valid since Boost 1.89.0. + +PrusaSlicer requires a minimum of Boost 1.83.0 so Boost.System is guaranteed to +be header-only (since 1.69[^1]) and the component can be removed. + +[^1]: +https://www.boost.org/doc/libs/1_69_0/libs/system/doc/html/system.html#changes_in_boost_1_69 + +Signed-off-by: Paul Zander <[email protected]> + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -370,7 +370,7 @@ endif() + # boost::process was introduced first in version 1.64.0, + # boost::beast::detail::base64 was introduced first in version 1.66.0 + set(MINIMUM_BOOST_VERSION "1.83.0") +-set(_boost_components "system;filesystem;thread;log;locale;regex;chrono;atomic;date_time;iostreams;nowide") ++set(_boost_components "filesystem;thread;log;locale;regex;chrono;atomic;date_time;iostreams;nowide") + find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS ${_boost_components}) + + find_package(Eigen3 3.3.7 REQUIRED) +--- a/src/slic3r/Utils/Bonjour.cpp ++++ b/src/slic3r/Utils/Bonjour.cpp +@@ -11,6 +11,7 @@ + #include <string> + #include <map> + #include <thread> ++#include <boost/asio/deadline_timer.hpp> + #include <boost/endian/conversion.hpp> + #include <boost/date_time/posix_time/posix_time_duration.hpp> + #include <boost/format.hpp> +-- +2.52.0 \ No newline at end of file diff --git a/media-gfx/prusaslicer/prusaslicer-2.9.4.ebuild b/media-gfx/prusaslicer/prusaslicer-2.9.4.ebuild index 31444cf810f1..908235a24532 100644 --- a/media-gfx/prusaslicer/prusaslicer-2.9.4.ebuild +++ b/media-gfx/prusaslicer/prusaslicer-2.9.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -69,6 +69,7 @@ PATCHES=( "${FILESDIR}/${PN}-2.8.1-fix-libsoup-double-linking.patch" "${FILESDIR}/${PN}-2.8.1-boost-1.87.patch" "${FILESDIR}/${PN}-2.9.2-boost-1.88.patch" + "${FILESDIR}/${PN}-2.9.4-boost-1.89.patch" ) src_prepare() { diff --git a/media-gfx/prusaslicer/prusaslicer-9999.ebuild b/media-gfx/prusaslicer/prusaslicer-9999.ebuild index c005e61aa5f3..bbca0ded57a1 100644 --- a/media-gfx/prusaslicer/prusaslicer-9999.ebuild +++ b/media-gfx/prusaslicer/prusaslicer-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -69,6 +69,7 @@ PATCHES=( "${FILESDIR}/${PN}-2.8.1-fix-libsoup-double-linking.patch" "${FILESDIR}/${PN}-2.8.1-boost-1.87.patch" "${FILESDIR}/${PN}-2.9.2-boost-1.88.patch" + "${FILESDIR}/${PN}-2.9.4-boost-1.89.patch" ) src_prepare() {
