Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2023 18:54:27 GMT
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 838e3d8ea34c - main - devel/libphonenumber: Update to 8.13.21
Message-ID:  <202309211854.38LIsR0q040917@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=838e3d8ea34c054075ddf8cbb6b4048c735dcc80

commit 838e3d8ea34c054075ddf8cbb6b4048c735dcc80
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-09-21 18:45:37 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-09-21 18:54:18 +0000

    devel/libphonenumber: Update to 8.13.21
    
    https://github.com/google/libphonenumber/releases/tag/v8.13.21
---
 devel/libphonenumber/Makefile                         |  6 +++++-
 devel/libphonenumber/distinfo                         |  6 +++---
 devel/libphonenumber/files/patch-CMakeLists.txt       | 13 ++-----------
 devel/libphonenumber/files/patch-tools_CMakeLists.txt | 18 ------------------
 4 files changed, 10 insertions(+), 33 deletions(-)

diff --git a/devel/libphonenumber/Makefile b/devel/libphonenumber/Makefile
index 3848319e39d6..5010a463b401 100644
--- a/devel/libphonenumber/Makefile
+++ b/devel/libphonenumber/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libphonenumber
 DISTVERSIONPREFIX=	v
-DISTVERSION=	8.13.20
+DISTVERSION=	8.13.21
 CATEGORIES=	devel
 
 MAINTAINER=	kde@FreeBSD.org
@@ -16,6 +16,10 @@ LIB_DEPENDS=	libabsl_strings.so:devel/abseil \
 		libprotobuf.so:devel/protobuf
 
 USES=		cmake:noninja compiler:c++17-lang pkgconfig
+# Workaround CMAKE_ARGS+=-DABSL_PROPAGATE_CXX_STD:BOOL=ON not being set in the
+# devel/abseil Makefile. As of version 8.13.21, libphonenumber no longer sets
+# the C++ dialect and expects to inherit it from abseil.
+USE_CXXSTD=	c++17
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
 
diff --git a/devel/libphonenumber/distinfo b/devel/libphonenumber/distinfo
index 3c93979d3876..2bb39b189d85 100644
--- a/devel/libphonenumber/distinfo
+++ b/devel/libphonenumber/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1694524567
-SHA256 (google-libphonenumber-v8.13.20_GH0.tar.gz) = 81ac6371367912463c612a4b4a6942ab10b7faf800b8dc026d6db3d157bed9b5
-SIZE (google-libphonenumber-v8.13.20_GH0.tar.gz) = 14810379
+TIMESTAMP = 1695283658
+SHA256 (google-libphonenumber-v8.13.21_GH0.tar.gz) = bca757a8e04849c8158bbbc243c500699daa7601d1fd23a1277fc2643188b44b
+SIZE (google-libphonenumber-v8.13.21_GH0.tar.gz) = 14809594
diff --git a/devel/libphonenumber/files/patch-CMakeLists.txt b/devel/libphonenumber/files/patch-CMakeLists.txt
index 84b597363642..f91ae68395d1 100644
--- a/devel/libphonenumber/files/patch-CMakeLists.txt
+++ b/devel/libphonenumber/files/patch-CMakeLists.txt
@@ -1,15 +1,6 @@
---- CMakeLists.txt.orig	2023-01-06 10:17:24 UTC
+--- CMakeLists.txt.orig	2023-09-19 04:20:31 UTC
 +++ CMakeLists.txt
-@@ -20,7 +20,7 @@ project (libphonenumber VERSION 8.13.0)
- 
- # Pick the C++ standard to compile with.
- # Abseil currently supports C++11, C++14, and C++17.
--set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard used to compile this project")
-+set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard used to compile this project")
- set(CMAKE_CXX_STANDARD_REQUIRED ON)
- set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
- 
-@@ -106,7 +106,7 @@ endif ()
+@@ -100,7 +100,7 @@ endif ()
  endif ()
  
  # Find all the required libraries and programs.
diff --git a/devel/libphonenumber/files/patch-tools_CMakeLists.txt b/devel/libphonenumber/files/patch-tools_CMakeLists.txt
deleted file mode 100644
index 1f2c04eb002b..000000000000
--- a/devel/libphonenumber/files/patch-tools_CMakeLists.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-This patch applies from WRKSRC_SUBDIR, ie. from cpp/ , but even
-when building in that subdir, the tools/ directory is built
-as well. That is why the patch applies to ..
-
-- use system abseil instead of fetching it on our own.
-- force C++17 because abseil has it, too.
-
---- ../tools/cpp/CMakeLists.txt.orig	2022-01-11 10:41:37.000000000 +0100
-+++ ../tools/cpp/CMakeLists.txt	2022-01-22 17:06:39.284013000 +0100
-@@ -18,7 +18,7 @@
- 
- # Pick the C++ standard to compile with.
- # Abseil currently supports C++11, C++14, and C++17.
--set(CMAKE_CXX_STANDARD 11)
-+set(CMAKE_CXX_STANDARD 17)
- set(CMAKE_CXX_STANDARD_REQUIRED ON)
- 
- project (generate_geocoding_data)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309211854.38LIsR0q040917>