openh264: Use C++17, now required by gtest

Closes: https://trac.macports.org/ticket/73163
This commit is contained in:
Matthias Scheler
2025-10-29 22:23:55 -04:00
committed by Ryan Carsten Schmidt
parent 3ee465c582
commit 628be7de2c
+2 -2
View File
@@ -32,9 +32,9 @@ patchfiles-append meson-build-do-not-hardcode-libc-on-darwin.diff
# Undefined symbols:
# "__ZN7testing8internal23MakeAndRegisterTestInfoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS8_S8_NS0_12CodeLocationEPKvPFvvESD_PNS0_15TestFactoryBaseE"
# Also required by gtest: https://github.com/cisco/openh264/issues/3807
compiler.cxx_standard 2014
compiler.cxx_standard 2017
configure.cxxflags-append \
-std=c++14
-std=c++17
if {[string match *clang* ${configure.compiler}]} {
configure.cxxflags-append \