From 1be7e4b51d13908c3a3292eff5c3c9c3bc0a02d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Aug 2025 16:16:33 +0700 Subject: [PATCH] libphonenumber: for boost-1.89 --- srcpkgs/libphonenumber/patches/boost-1.89.patch | 11 +++++++++++ srcpkgs/libphonenumber/template | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/libphonenumber/patches/boost-1.89.patch diff --git a/srcpkgs/libphonenumber/patches/boost-1.89.patch b/srcpkgs/libphonenumber/patches/boost-1.89.patch new file mode 100644 index 00000000000..5306e9cf85b --- /dev/null +++ b/srcpkgs/libphonenumber/patches/boost-1.89.patch @@ -0,0 +1,11 @@ +--- 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.40.0 COMPONENTS thread) + if (NOT Boost_FOUND) + print_error ("Boost Date_Time/System/Thread" "Boost") + endif () diff --git a/srcpkgs/libphonenumber/template b/srcpkgs/libphonenumber/template index 62e0137d0c0..6e3a1961639 100644 --- a/srcpkgs/libphonenumber/template +++ b/srcpkgs/libphonenumber/template @@ -1,13 +1,13 @@ # Template file for 'libphonenumber' pkgname=libphonenumber version=8.13.30 -revision=2 +revision=3 build_wrksrc=cpp build_style=cmake build_helper=qemu configure_args="-DREGENERATE_METADATA=OFF" hostmakedepends="pkg-config protobuf" -makedepends="boost-devel-minimal libboost_thread libboost_date_time libboost_system +makedepends="boost-devel-minimal libboost_thread gtest-devel icu-devel protobuf-devel" short_desc="Google's common library for handling international phone numbers" maintainer="Louis Dupré Bertoni "