libphonenumber: Update to 8.13.3

Compilation patch upstreamed via:
https://github.com/google/libphonenumber/pull/2868
This commit is contained in:
Andreas Cord-Landwehr
2022-12-31 09:55:28 +01:00
parent 6f477d2ac0
commit 80b9e8edc9
3 changed files with 33 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@kde.org>
# SPDX-FileCopyrightText: 2022 Andreas Cord-Landwehr <cordlandwehr@kde.org>
#
# SPDX-License-Identifier: MIT
@@ -14,10 +15,12 @@ DEPENDS = " \
protobuf-native \
icu \
virtual/javac-native \
abseil-cpp \
"
SRC_URI = " \
git://github.com/googlei18n/${BPN}.git;nobranch=1;protocol=https \
file://0001-Move-find_package-call-for-absl-to-global-scope.patch \
"
S = "${WORKDIR}/git/cpp"

View File

@@ -0,0 +1,29 @@
From 00ccef439ff8c67e74019d3e55d6e10bd4d87a73 Mon Sep 17 00:00:00 2001
From: Andreas Cord-Landwehr <cordlandwehr@kde.org>
Date: Fri, 30 Dec 2022 23:36:00 +0100
Subject: [PATCH] Move find_package call for absl to global scope
absl is needed for compilation also with GEOCODER disabled.
Signed-off-by: Andreas Cord-Landwehr <cordlandwehr@kde.org>
---
cpp/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 4ba99c398..a2b33ce54 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -202,8 +202,8 @@ add_custom_command (
DEPENDS ${PROTOBUF_SOURCES}
)
+find_package(absl REQUIRED)
if (${BUILD_GEOCODER} STREQUAL "ON")
- find_package(absl)
# Geocoding data cpp file generation
set (TOOLS_DIR "${CMAKE_CURRENT_BINARY_DIR}/tools")
--
2.37.2

View File

@@ -2,4 +2,4 @@
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRCREV = "df9d37a1a002cf22b479a113d069326dfb1b781f"
SRCREV = "7f6c068beddd2a07165cce1ab3aa3158789fa3ba"