Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
7a044538 by David Fuhrmann at 2023-02-08T06:27:51+00: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

- - - - -


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_CONF := --disable-processor



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/7a0445383b3b8487fa13e9451caccd8ffe981f4c

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/7a0445383b3b8487fa13e9451caccd8ffe981f4c
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