echawk / kiss-xorg

A KISS Linux Repository for Xorg
MIT License
34 stars 9 forks source link

webkit2gtk: broken upstream since 2.42.3 #161

Closed Nekosha closed 3 months ago

Nekosha commented 4 months ago

See https://bugs.webkit.org/show_bug.cgi?id=266046, webkit2gtk fails to build with ENABLE_WEB_CRYPTO=OFF. Suggested patch for 2.42.3 Updated patch for 2.42.5:

--- a/Source/WebCore/bindings/js/SerializedScriptValue.cpp 
+++ b/Source/WebCore/bindings/js/SerializedScriptValue.cpp 
@@ -2377,11 +2377,6 @@ 
         }
     }

-    void write(SerializableErrorType errorType) 
-    { 
-        write(enumToUnderlyingType(errorType)); 
-    } 
- 
     void write(const CryptoKey* key)
     {
         write(currentKeyFormatVersion);
@@ -2467,6 +2462,11 @@ 
         }
     }
 #endif

+    void write(SerializableErrorType errorType) 
+    { 
+        write(enumToUnderlyingType(errorType)); 
+    } 
+ 
     void write(const uint8_t* data, unsigned length)
     {
echawk commented 4 months ago

Thank you for pointing this out, I'll make a fix later today.

echawk commented 3 months ago

https://github.com/echawk/kiss-xorg/commit/265c7da9c763e9726c81d9ad19d3c3fb04d7432f