commit: d871de08c7744a1d894689528f573261053467ac Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat Oct 4 12:26:44 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Oct 4 12:38:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d871de08
dev-libs/libphonenumber: Fix build w/ dev-libs/boost-1.89.0 Closes: https://bugs.gentoo.org/963681 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/libphonenumber-8.13.47-boost-1.89.patch | 21 +++++++++++++++++++++ .../libphonenumber/libphonenumber-8.13.47-r1.ebuild | 2 ++ 2 files changed, 23 insertions(+) diff --git a/dev-libs/libphonenumber/files/libphonenumber-8.13.47-boost-1.89.patch b/dev-libs/libphonenumber/files/libphonenumber-8.13.47-boost-1.89.patch new file mode 100644 index 000000000000..df3b4df3f9d3 --- /dev/null +++ b/dev-libs/libphonenumber/files/libphonenumber-8.13.47-boost-1.89.patch @@ -0,0 +1,21 @@ +See also: https://github.com/google/libphonenumber/pull/3903 + +Not making it optional though, just raising the minimum instead. + +--- + cpp/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt +index 27e4680ccc..39f05d2c9a 100644 +--- a/cpp/CMakeLists.txt ++++ b/cpp/CMakeLists.txt +@@ -145,7 +145,7 @@ if (USE_BOOST) + if (WIN32) + set (Boost_USE_STATIC_LIBS ON) + endif () +- find_package (Boost 1.40.0 COMPONENTS date_time system thread) ++ find_package (Boost 1.69.0 COMPONENTS date_time thread) + if (NOT Boost_FOUND) + print_error ("Boost Date_Time/System/Thread" "Boost") + endif () diff --git a/dev-libs/libphonenumber/libphonenumber-8.13.47-r1.ebuild b/dev-libs/libphonenumber/libphonenumber-8.13.47-r1.ebuild index db0976c6b615..e3b8899963fc 100644 --- a/dev-libs/libphonenumber/libphonenumber-8.13.47-r1.ebuild +++ b/dev-libs/libphonenumber/libphonenumber-8.13.47-r1.ebuild @@ -37,6 +37,8 @@ PATCHES=( "${FILESDIR}"/${PN}-8.13.47-protobuf-link-abseil.patch # bug #889910 "${FILESDIR}"/${PN}-8.13.47-werror.patch + # bug 963681 + "${FILESDIR}"/${PN}-8.13.47-boost-1.89.patch ) src_prepare() {
