diff --git a/SPECS/chromium.spec b/SPECS/chromium.spec index bc93532a..cffcef5c 100644 --- a/SPECS/chromium.spec +++ b/SPECS/chromium.spec @@ -994,6 +994,15 @@ done cp -f %{chromium_path_gost}/src/gostssl.cpp third_party/boringssl/gostssl.cpp cp -f %{chromium_path_gost}/src/msspi/src/* third_party/boringssl cp -f %{chromium_path_gost}/src/msspi/third_party/cprocsp/include/* third_party/boringssl/src/include + +## c-g patch incompatibility introduced in 94.0.4606.71 +sed -i '1i\ +#if __has_attribute(no_destroy)\ +# define _LIBCPP_NO_DESTROY __attribute__((__no_destroy__))\ +#else\ +# define _LIBCPP_NO_DESTROY\ +#endif +' net/socket/ssl_client_socket_impl.cc %endif ### Chromium Fedora Patches ###