aboutsummaryrefslogtreecommitdiffstats
path: root/community/libphonenumber/cmake-duplicate-rule-definition.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libphonenumber/cmake-duplicate-rule-definition.patch')
-rw-r--r--community/libphonenumber/cmake-duplicate-rule-definition.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/libphonenumber/cmake-duplicate-rule-definition.patch b/community/libphonenumber/cmake-duplicate-rule-definition.patch
new file mode 100644
index 0000000000..18d8175e10
--- /dev/null
+++ b/community/libphonenumber/cmake-duplicate-rule-definition.patch
@@ -0,0 +1,14 @@
+Work around a deficiency in cmake's build rule generation.
+Upstream: not yet
+
+--- libphonenumber-8.12.20.orig/cpp/CMakeLists.txt
++++ libphonenumber-8.12.20/cpp/CMakeLists.txt
+@@ -351,7 +351,7 @@
+ ${TEST_METADATA_TARGET}
+ "${RESOURCES_DIR}/PhoneNumberMetadataForTesting.xml"
+ "test_metadata"
+- "metadata"
++ "test_metadata"
+ )
+ list (APPEND TESTING_LIBRARY_SOURCES "src/phonenumbers/test_metadata.cc")
+