void-packages/srcpkgs/libphonenumber/patches/cmake-duplicate-rule-definition.patch
2021-12-13 14:58:24 +01:00

15 lines
521 B
Diff

Work around a deficiency in cmake's build rule generation.
Upstream: not yet
Source: https://git.alpinelinux.org/aports/tree/community/libphonenumber/cmake-duplicate-rule-definition.patch
--- 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")