File fix-boost-1.89.patch of Package sunshine
diff '--color=auto' -rub sunshine.orig/cmake/dependencies/Boost_Sunshine.cmake sunshine/cmake/dependencies/Boost_Sunshine.cmake
--- sunshine.orig/cmake/dependencies/Boost_Sunshine.cmake 2025-09-30 22:16:45.461105838 -0300
+++ sunshine/cmake/dependencies/Boost_Sunshine.cmake 2025-10-01 00:21:50.672172161 -0300
@@ -3,13 +3,12 @@
#
include_guard(GLOBAL)
-set(BOOST_VERSION "1.87.0")
+set(BOOST_VERSION "1.89.0")
set(BOOST_COMPONENTS
filesystem
locale
log
program_options
- system
)
# system is not used by Sunshine, but by Simple-Web-Server, added here for convenience
Only in sunshine/.git: AUTO_MERGE
Only in sunshine/.git: FETCH_HEAD
Binary files sunshine.orig/.git/index and sunshine/.git/index differ
Binary files sunshine.orig/.git/modules/third-party/Simple-Web-Server/index and sunshine/.git/modules/third-party/Simple-Web-Server/index differ
Only in sunshine/.git/objects: 13
Only in sunshine/.git/objects: 29
Only in sunshine/.git/objects: 33
Only in sunshine/.git/objects: 46
Only in sunshine/.git/objects: 4e
Only in sunshine/.git/objects: 89
Only in sunshine/.git/objects: be
Only in sunshine/.git/objects: e6
diff '--color=auto' -rub sunshine.orig/third-party/Simple-Web-Server/CMakeLists.txt sunshine/third-party/Simple-Web-Server/CMakeLists.txt
--- sunshine.orig/third-party/Simple-Web-Server/CMakeLists.txt 2025-09-30 22:18:06.060378549 -0300
+++ sunshine/third-party/Simple-Web-Server/CMakeLists.txt 2025-10-01 00:29:13.092190610 -0300
@@ -41,8 +41,10 @@
target_include_directories(simple-web-server SYSTEM INTERFACE ${ASIO_PATH})
endif()
else()
- find_package(Boost 1.53.0 COMPONENTS system REQUIRED)
- target_link_libraries(simple-web-server INTERFACE Boost::boost Boost::system)
+ # FIX: Removed 'COMPONENTS system' as Boost 1.89.0 made it header-only
+ find_package(Boost 1.53.0 REQUIRED)
+ # FIX: We removed 'Boost::system' from the link. The functionality is achieved via headers.
+ target_link_libraries(simple-web-server INTERFACE Boost::boost)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
target_compile_definitions(simple-web-server INTERFACE USE_BOOST_REGEX)
find_package(Boost 1.53.0 COMPONENTS regex REQUIRED)