File webkit2gtk3-gcrypt-build-fix.patch of Package webkit2gtk3.31628
diff -urp webkitgtk-2.41.91.icu52/Source/WebCore/bindings/js/SerializedScriptValue.cpp webkitgtk-2.41.91/Source/WebCore/bindings/js/SerializedScriptValue.cpp
--- webkitgtk-2.41.91.icu52/Source/WebCore/bindings/js/SerializedScriptValue.cpp 2023-08-09 03:49:42.504219000 -0500
+++ webkitgtk-2.41.91/Source/WebCore/bindings/js/SerializedScriptValue.cpp 2023-09-05 10:52:02.388451424 -0500
@@ -2071,6 +2071,11 @@ private:
write(DestinationColorSpaceSRGBTag);
}
+ void write(SerializableErrorType errorType)
+ {
+ write(enumToUnderlyingType(errorType));
+ }
+
#if ENABLE(WEB_CRYPTO)
void write(CryptoKeyOKP::NamedCurve curve)
{
@@ -2189,11 +2194,6 @@ private:
}
}
- void write(SerializableErrorType errorType)
- {
- write(enumToUnderlyingType(errorType));
- }
-
void write(const CryptoKey* key)
{
write(currentKeyFormatVersion);