diff options
Diffstat (limited to 'www/webkit2-gtk4/files/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES_GCM.cpp')
-rw-r--r-- | www/webkit2-gtk4/files/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES_GCM.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/webkit2-gtk4/files/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES_GCM.cpp b/www/webkit2-gtk4/files/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES_GCM.cpp new file mode 100644 index 000000000000..061724edfbc5 --- /dev/null +++ b/www/webkit2-gtk4/files/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES_GCM.cpp @@ -0,0 +1,16 @@ +Index: Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_GCM.cpp +--- Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_GCM.cpp.orig ++++ Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_GCM.cpp +@@ -26,6 +26,12 @@ + #include "config.h" + #include "CryptoAlgorithmAES_GCM.h" + ++#if defined(_LP64) ++# define __WORDSIZE 64 ++#else ++# define __WORDSIZE 32 ++#endif ++ + #if ENABLE(WEB_CRYPTO) + + #include "CryptoAlgorithmAesGcmParams.h" |