Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
95685500 by David Fuhrmann at 2023-02-09T20:40:41+01:00
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 7a0445383b3b8487fa13e9451caccd8ffe981f4c)

- - - - -


1 changed file:

- contrib/src/breakpad/rules.mak


Changes:

=====================================
contrib/src/breakpad/rules.mak
=====================================
@@ -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



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/9568550010bb92e667d01de2b1e40c53147b6a52

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/9568550010bb92e667d01de2b1e40c53147b6a52
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to