Files
gentoo/dev-libs/libphonenumber/files/libphonenumber-8.13.47-werror.patch
Sam James 8562873238 dev-libs/libphonenumber: add 8.13.47
* Replace CMake patch with newer version from Exherbo (original came
  from there too)
* Import another patch from Exherbo for newer abseil-cpp (fixes linking
  w/ lld, mold)
* Drop -Werror
* Wire up tests again (sorry, not rebasing the CMake patch, this is
  good enough ;))

Closes: https://bugs.gentoo.org/889910
Closes: https://bugs.gentoo.org/923946
Closes: https://bugs.gentoo.org/939873
Signed-off-by: Sam James <sam@gentoo.org>
2024-10-05 12:10:11 +01:00

24 lines
470 B
Diff

https://bugs.gentoo.org/889910
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -418,7 +418,7 @@ if (USE_ICU_REGEXP)
endif ()
if (NOT WIN32)
- add_definitions ("-Wall -Werror")
+ add_definitions ("-Wall")
endif ()
include_directories ("src")
--- a/tools/cpp/CMakeLists.txt
+++ b/tools/cpp/CMakeLists.txt
@@ -25,7 +25,7 @@ set (
)
if (NOT WIN32)
- add_definitions ("-Wall -Werror")
+ add_definitions ("-Wall")
endif ()
include_directories ("src")