Skip to content
Snippets Groups Projects
Commit 95685500 authored by David's avatar David
Browse files

contrib: breakpad: Fix build with newest Xcode

The latest Xcode 14 / macOS 13 SDK declares quite a bunch of c calls as
deprecated for security reasons, like sprintf, which makes compilation
failing. Disable "-Werror" for Breakpad builds, to downgrade those errors to
warnings.

fixes #26859

(cherry picked from commit 7a044538)
parent 8132db81
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!3264[3.0.x] contrib: breakpad: Fix build with newest Xcode
Pipeline #313510 passed with stages
in 17 minutes and 29 seconds
......@@ -16,6 +16,7 @@ $(TARBALLS)/breakpad-$(BREAKPAD_VERSION).tar.gz:
breakpad: breakpad-$(BREAKPAD_VERSION).tar.gz .sum-breakpad
$(UNPACK)
$(APPLY) $(SRC)/breakpad/0001-mac-client-Upgrade-Breakpad.xib-to-new-format.patch
sed -i.orig -e "s/GCC_TREAT_WARNINGS_AS_ERRORS = YES/GCC_TREAT_WARNINGS_AS_ERRORS = NO/" "$(UNPACK_DIR)/src/common/mac/Breakpad.xcconfig"
$(MOVE)
.breakpad: breakpad
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment