From ed472cd1bec629f326509be966939e012750816a Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Thu, 23 May 2024 02:59:12 +0200 Subject: [PATCH] [boost-interprocess] Fix link libs (#38815) Alternative to #38809: Some link libs are only used by tests, not by the lib. Portfile generated with #38814, therefore omitting change to `generate-ports.ps1`. --- ports/boost-interprocess/portfile.cmake | 2 ++ ports/boost-interprocess/unused-link-libs.diff | 17 +++++++++++++++++ ports/boost-interprocess/vcpkg.json | 3 ++- versions/b-/boost-interprocess.json | 5 +++++ versions/baseline.json | 2 +- 5 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 ports/boost-interprocess/unused-link-libs.diff diff --git a/ports/boost-interprocess/portfile.cmake b/ports/boost-interprocess/portfile.cmake index c64e106a65f7ce..d7431465745cec 100644 --- a/ports/boost-interprocess/portfile.cmake +++ b/ports/boost-interprocess/portfile.cmake @@ -6,6 +6,8 @@ vcpkg_from_github( REF boost-${VERSION} SHA512 7d5f9056f76077b3d4f16445c3890ef363244c1395ba86904d65e4b0cdac7c158b9d0203c3fbe05879e39a1bee7710eedcf5a5fc889b78de4ba8e17ccd032d87 HEAD_REF master + PATCHES + unused-link-libs.diff ) set(FEATURE_OPTIONS "") diff --git a/ports/boost-interprocess/unused-link-libs.diff b/ports/boost-interprocess/unused-link-libs.diff new file mode 100644 index 00000000000000..ac0aeeff145d84 --- /dev/null +++ b/ports/boost-interprocess/unused-link-libs.diff @@ -0,0 +1,17 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2b3f13b..913fa25 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -18,12 +18,10 @@ target_link_libraries(boost_interprocess + Boost::config + Boost::container + Boost::core +- Boost::integer + Boost::intrusive + Boost::move + Boost::static_assert + Boost::type_traits +- Boost::unordered + Boost::winapi + ) + diff --git a/ports/boost-interprocess/vcpkg.json b/ports/boost-interprocess/vcpkg.json index 2ae20cdc647f8e..5e4265ea7d90ee 100644 --- a/ports/boost-interprocess/vcpkg.json +++ b/ports/boost-interprocess/vcpkg.json @@ -2,8 +2,9 @@ "$comment": "Automatically generated by scripts/boost/generate-ports.ps1", "name": "boost-interprocess", "version": "1.85.0", + "port-version": 1, "description": "Boost interprocess module", - "homepage": "https://github.com/boostorg/interprocess", + "homepage": "https://www.boost.org/libs/interprocess", "license": "BSL-1.0", "dependencies": [ { diff --git a/versions/b-/boost-interprocess.json b/versions/b-/boost-interprocess.json index 8e912733650183..8edfdb88036256 100644 --- a/versions/b-/boost-interprocess.json +++ b/versions/b-/boost-interprocess.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "fa41cbcf45f382a10d06e7c028d6f9b4d9341d4b", + "version": "1.85.0", + "port-version": 1 + }, { "git-tree": "fa62f9583db8d8c7c7799f2952ae8b33f39b8a56", "version": "1.85.0", diff --git a/versions/baseline.json b/versions/baseline.json index 51a1ff0736805a..f1a409bcac08f1 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -958,7 +958,7 @@ }, "boost-interprocess": { "baseline": "1.85.0", - "port-version": 0 + "port-version": 1 }, "boost-interval": { "baseline": "1.85.0",