libphonenumber/0001-Revert-Fix-typo-in-arguments-to-add_metadata_gen_tar.patch
Fabian Vogt d2f7ac0a7b Accepting request 1093080 from home:favogt:branches:devel:libraries:c_c++
- Update to version 8.13.14:
  * Many data changes
  * Removal of unused leading_zero_possible proto field in
    phonemetadata.proto and all generated code
  * https://github.com/google/libphonenumber/blob/v8.13.14/release_notes.txt
- Depends on abseil now
- Turn metadata regeneration off explicitly, wasn't done previously
  either. This allows dropping the java dependency.
- Add patches to fix building:
  * 0001-Build-with-C-17.patch
  * 0001-Revert-Fix-typo-in-arguments-to-add_metadata_gen_tar.patch
- protobuf got fixed, builds fine with 22 now

OBS-URL: https://build.opensuse.org/request/show/1093080
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=14
2023-06-14 10:40:48 +00:00

28 lines
777 B
Diff

From f5684c3a2c220fde377c277dbe7784afbc0013cb Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fvogt@suse.de>
Date: Wed, 14 Jun 2023 09:35:29 +0200
Subject: [PATCH] Revert "Fix typo in arguments to add_metadata_gen_target()
(#2874)"
This reverts commit 0ecc3d9af734d96d5b01cdf52f0ecdf848a33d68.
---
cpp/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index bc331aa..5b7d2b2 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -394,7 +394,7 @@ add_metadata_gen_target (
${TEST_METADATA_TARGET}
"${RESOURCES_DIR}/PhoneNumberMetadataForTesting.xml"
"test_metadata"
- "test_metadata"
+ "metadata"
)
list (APPEND TESTING_LIBRARY_SOURCES "src/phonenumbers/test_metadata.cc")
--
2.41.0