[packages/libphonenumber] - updated to 8.12.49 - updated no-fetch patch

qboosh qboosh at pld-linux.org
Sun Jun 5 20:20:55 CEST 2022


commit 5389ffd262edca4ac5de6d7af4d979485c6b6aeb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 5 20:22:07 2022 +0200

    - updated to 8.12.49
    - updated no-fetch patch

 libphonenumber-no-fetch.patch | 28 ++++++++++------------------
 libphonenumber.spec           |  6 +++---
 2 files changed, 13 insertions(+), 21 deletions(-)
---
diff --git a/libphonenumber.spec b/libphonenumber.spec
index 5b70d3d..965ac64 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.46
-Release:	2
+Version:	8.12.49
+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:	0b2bef80ef2ba89d93c4e46032609464
+# Source0-md5:	98f2f5ace34d11097ea59ca5f439077d
 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 39ce3d8..9bcdca9 100644
--- a/libphonenumber-no-fetch.patch
+++ b/libphonenumber-no-fetch.patch
@@ -31,24 +31,8 @@
  
  find_or_build_gtest ()
  set (
---- 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 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
+--- libphonenumber-8.12.49/cpp/CMakeLists.txt.orig	2022-06-05 20:00:44.936971698 +0200
++++ libphonenumber-8.12.49/cpp/CMakeLists.txt	2022-06-05 20:09:04.854263413 +0200
 @@ -18,7 +18,7 @@ cmake_minimum_required (VERSION 3.11)
  
  # Pick the C++ standard to compile with.
@@ -58,3 +42,11 @@
  set(CMAKE_CXX_STANDARD_REQUIRED ON)
  
  project (libphonenumber)
+@@ -474,6 +474,7 @@ if (${USE_POSIX_THREAD} STREQUAL "ON" OR
+   endif()
+ endif ()
+ 
++find_package(absl REQUIRED COMPONENTS node_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)
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list