[packages/libphonenumber] - updated to 8.12.46, more absl libs needed

qboosh qboosh at pld-linux.org
Mon Apr 4 18:13:29 CEST 2022


commit eb6976da578015fdf09426bc011fef0ecf0b7362
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 4 18:13:16 2022 +0200

    - updated to 8.12.46, more absl libs needed

 libphonenumber-no-fetch.patch | 14 ++++++++++----
 libphonenumber.spec           |  6 +++---
 2 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/libphonenumber.spec b/libphonenumber.spec
index 17efffc..36ff4ac 100644
--- a/libphonenumber.spec
+++ b/libphonenumber.spec
@@ -7,13 +7,13 @@
 Summary:	Library to handle international phone numbers
 Summary(pl.UTF-8):	Biblioteka do obsługi międzynarodowych numerów telefonów
 Name:		libphonenumber
-Version:	8.12.42
-Release:	4
+Version:	8.12.46
+Release:	1
 License:	Apache v2.0 with BSD parts
 Group:		Libraries
 #Source0Download: https://github.com/google/libphonenumber/releases/
 Source0:	https://github.com/google/libphonenumber/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	8b071ea1d220018aa731d79794a00249
+# Source0-md5:	0b2bef80ef2ba89d93c4e46032609464
 Patch0:		%{name}-link.patch
 Patch1:		%{name}-no-fetch.patch
 URL:		https://github.com/google/libphonenumber/
diff --git a/libphonenumber-no-fetch.patch b/libphonenumber-no-fetch.patch
index a76cbd6..39ce3d8 100644
--- a/libphonenumber-no-fetch.patch
+++ b/libphonenumber-no-fetch.patch
@@ -31,16 +31,22 @@
  
  find_or_build_gtest ()
  set (
---- libphonenumber-8.12.42/cpp/CMakeLists.txt.orig	2022-02-08 21:04:15.984964451 +0100
-+++ libphonenumber-8.12.42/cpp/CMakeLists.txt	2022-02-08 21:08:15.033998716 +0100
-@@ -474,6 +474,7 @@ if (${USE_POSIX_THREAD} STREQUAL "ON" OR
+--- libphonenumber-8.12.46/cpp/CMakeLists.txt.orig	2022-02-08 21:04:15.984964451 +0100
++++ libphonenumber-8.12.46/cpp/CMakeLists.txt	2022-02-08 21:08:15.033998716 +0100
+@@ -474,10 +474,11 @@ if (${USE_POSIX_THREAD} STREQUAL "ON" OR
    endif()
  endif ()
  
-+find_package(absl REQUIRED COMPONENTS strings synchronization)
++find_package(absl REQUIRED COMPONENTS hash raw_hash_set strings synchronization)
  # Safeguarding against any potential link errors as mentioned in
  # https://github.com/abseil/abseil-cpp/issues/225
  set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
+-list (APPEND LIBRARY_DEPS absl::strings)
++list (APPEND LIBRARY_DEPS absl::hash absl::raw_hash_set absl::strings)
+ list (APPEND COMMON_DEPS absl::synchronization)
+ 
+ if (APPLE)
+   list (APPEND COMMON_DEPS ${COREFOUNDATION_LIB} ${FOUNDATION_LIB})
 --- libphonenumber-8.12.42/cpp/CMakeLists.txt.orig	2022-02-08 21:57:33.440581630 +0100
 +++ libphonenumber-8.12.42/cpp/CMakeLists.txt	2022-02-08 22:20:13.587822822 +0100
 @@ -18,7 +18,7 @@ cmake_minimum_required (VERSION 3.11)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libphonenumber.git/commitdiff/eb6976da578015fdf09426bc011fef0ecf0b7362



More information about the pld-cvs-commit mailing list