libphonenumber, bump to 9.0.23 (#13720)

This commit is contained in:
Schrijvers Luc
2026-02-06 10:58:01 +01:00
committed by GitHub
parent 6055621158
commit b9a5578ee4
3 changed files with 34 additions and 11 deletions

View File

@@ -5,10 +5,11 @@ the Android framework since 4.0 (Ice Cream Sandwich)."
HOMEPAGE="https://github.com/google/libphonenumber"
COPYRIGHT="2014 The Chromium Authors"
LICENSE="Apache v2"
REVISION="2"
REVISION="1"
SOURCE_URI="https://github.com/google/libphonenumber/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="fdcf2677367b93595d3c7ccbbd58e8e086bbdd5fd58bc01400b445786f9544f7"
PATCHES="libphonenumber-$portVersion.patchset"
CHECKSUM_SHA256="af8444a7863f916bb43fb73bbb851872d1db47ce5b9156075a93dd31af1a70a7"
PATCHES="libphonenumber-$portVersion.patchset
3903.patch"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -25,7 +26,6 @@ REQUIRES="
haiku$secondaryArchSuffix
lib:libabsl_base$secondaryArchSuffix # don't list all abseil libraries
lib:libboost_date_time$secondaryArchSuffix
lib:libboost_system$secondaryArchSuffix
lib:libboost_thread$secondaryArchSuffix
lib:libgtest$secondaryArchSuffix
lib:libicuuc$secondaryArchSuffix
@@ -48,7 +48,8 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libabsl_base$secondaryArchSuffix >= 2301.0.0
devel:libboost_system$secondaryArchSuffix >= 1.88.0
devel:libboost_date_time$secondaryArchSuffix >= 1.90.0
devel:libboost_thread$secondaryArchSuffix >= 1.90.0
devel:libgtest$secondaryArchSuffix
devel:libicuuc$secondaryArchSuffix >= 74
devel:libicui18n$secondaryArchSuffix >= 74

View File

@@ -0,0 +1,22 @@
From 72c1023fbf00fc48866acab05f6ccebcae7f3213 Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Mon, 11 Aug 2025 17:08:15 -0400
Subject: [PATCH] Fix build with Boost 1.89.0
---
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.40.0 COMPONENTS date_time thread OPTIONAL_COMPONENTS system)
if (NOT Boost_FOUND)
print_error ("Boost Date_Time/System/Thread" "Boost")
endif ()

View File

@@ -1,4 +1,4 @@
From 0144b83711aa1736ae31183b197f8cd72d53781b Mon Sep 17 00:00:00 2001
From 32ebc54c14476dd205a8c37c8c51610a35f3e716 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Wed, 8 Oct 2025 19:54:16 +0200
Subject: Fix BUILD_STATIC_LIB=OFF
@@ -18,10 +18,10 @@ index 27e4680..6924469 100644
endif()
--
2.51.0
2.52.0
From 08a7e30eed10ae9e320fd8e02c18980be9536810 Mon Sep 17 00:00:00 2001
From 0607ac2930e3b41472d452942e40fd947c9ec627 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Wed, 19 Nov 2025 10:13:09 +0100
Subject: Fix includedir
@@ -132,10 +132,10 @@ index 6924469..65377c6 100644
#----------------------------------------------------------------
# Build and install cmake config files
--
2.51.0
2.52.0
From c54fe25316b9e5efb355014250384901477740df Mon Sep 17 00:00:00 2001
From c922b82e7f744c4ff99b368476a759632ba4b09a Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Wed, 19 Nov 2025 12:52:49 +0100
Subject: Fix for building with boost
@@ -155,5 +155,5 @@ index 6679d9b..7dd83d0 100644
-DI18N_PHONENUMBERS_NO_THREAD_SAFETY
#endif
--
2.51.0
2.52.0