Skip to content

Commit

Permalink
devel/libphonenumber: Update to 8.13.21
Browse files Browse the repository at this point in the history
  • Loading branch information
BSDKaffee committed Sep 21, 2023
1 parent 204619d commit 838e3d8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 33 deletions.
6 changes: 5 additions & 1 deletion 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
Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions 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
13 changes: 2 additions & 11 deletions 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.
Expand Down
18 changes: 0 additions & 18 deletions devel/libphonenumber/files/patch-tools_CMakeLists.txt

This file was deleted.

0 comments on commit 838e3d8

Please sign in to comment.