File boost.patch of Package orthanc
diff -Nrua Orthanc-1.12.9.orig/OrthancFramework/Resources/CMake/BoostConfiguration.cmake Orthanc-1.12.9/OrthancFramework/Resources/CMake/BoostConfiguration.cmake
--- Orthanc-1.12.9.orig/OrthancFramework/Resources/CMake/BoostConfiguration.cmake
+++ Orthanc-1.12.9/OrthancFramework/Resources/CMake/BoostConfiguration.cmake
@@ -38,7 +38,7 @@
list(APPEND ORTHANC_BOOST_COMPONENTS locale)
endif()
- list(APPEND ORTHANC_BOOST_COMPONENTS filesystem thread system date_time regex iostreams)
+ list(APPEND ORTHANC_BOOST_COMPONENTS filesystem thread date_time regex iostreams)
find_package(Boost COMPONENTS ${ORTHANC_BOOST_COMPONENTS})
if (NOT Boost_FOUND)
diff -Nrua Orthanc-1.12.9.orig/OrthancFramework/Resources/CMake/BoostConfiguration.sh Orthanc-1.12.9/OrthancFramework/Resources/CMake/BoostConfiguration.sh
--- Orthanc-1.12.9.orig/OrthancFramework/Resources/CMake/BoostConfiguration.sh
+++ Orthanc-1.12.9/OrthancFramework/Resources/CMake/BoostConfiguration.sh
@@ -41,7 +41,7 @@
echo "Generating the subset..."
mkdir -p /tmp/bcp/boost_${BOOST_VERSION}
-bcp --boost=/tmp/boost_${BOOST_VERSION} thread system locale date_time filesystem math/special_functions algorithm uuid atomic iostreams program_options numeric/ublas geometry polygon signals2 chrono /tmp/bcp/boost_${BOOST_VERSION}
+bcp --boost=/tmp/boost_${BOOST_VERSION} thread locale date_time filesystem math/special_functions algorithm uuid atomic iostreams program_options numeric/ublas geometry polygon signals2 chrono /tmp/bcp/boost_${BOOST_VERSION}
echo "Removing documentation..."
rm -rf /tmp/bcp/boost_${BOOST_VERSION}/libs/locale/doc/html
diff -Nrua Orthanc-1.12.9.orig/OrthancFramework/UnitTestsSources/CMakeLists.txt Orthanc-1.12.9/OrthancFramework/UnitTestsSources/CMakeLists.txt
--- Orthanc-1.12.9.orig/OrthancFramework/UnitTestsSources/CMakeLists.txt
+++ Orthanc-1.12.9/OrthancFramework/UnitTestsSources/CMakeLists.txt
@@ -66,7 +66,7 @@
endif()
link_libraries(pugixml)
- find_package(Boost COMPONENTS filesystem thread system date_time iostreams locale regex)
+ find_package(Boost COMPONENTS filesystem thread date_time iostreams locale regex)
if (NOT Boost_FOUND)
message(FATAL_ERROR "Unable to locate Boost on this system")
endif()