qt5-webengine: import upstream patch to prevent crash on old v8 cache

This commit is contained in:
John 2021-05-21 09:42:56 +02:00
parent f8bd08100e
commit f507c73f32
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,31 @@
From 12ecfd11e326219ef185e7fdd6d967985fc57599 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20Br=C3=BCning?= <michael.bruning@qt.io>
Date: Thu, 20 May 2021 12:42:18 +0200
Subject: [PATCH] Bump V8_PATCH_LEVEL
Some backported patches to v8 require us to update the version string,
otherwise stale cache files might not be cleaned properly.
The V8_PATCH_LEVEL will de facto be decoupled from its upstream
counterpart, but that should not matter in practice.
Fixes: QTBUG-93744
Change-Id: I77d0d2a5b011955d22e6ae4c2eb45406f4c52863
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
---
chromium/v8/include/v8-version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chromium/v8/include/v8-version.h b/chromium/v8/include/v8-version.h
index cc87cda0776..298c9f74e02 100644
--- a/src/3rdparty/chromium/v8/include/v8-version.h
+++ b/src/3rdparty/chromium/v8/include/v8-version.h
@@ -11,7 +11,7 @@
#define V8_MAJOR_VERSION 8
#define V8_MINOR_VERSION 7
#define V8_BUILD_NUMBER 220
-#define V8_PATCH_LEVEL 31
+#define V8_PATCH_LEVEL 32
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)

View File

@ -1,7 +1,7 @@
# Template file for 'qt5-webengine' # Template file for 'qt5-webengine'
pkgname=qt5-webengine pkgname=qt5-webengine
version=5.15.4 version=5.15.4
revision=1 revision=2
_commit=0d4ca9cfb0d6e538172005e1c4b0b3a021b1c18c _commit=0d4ca9cfb0d6e538172005e1c4b0b3a021b1c18c
_chromium_commit=3f594ea1afb8b18c864715a796ef21099d432a13 _chromium_commit=3f594ea1afb8b18c864715a796ef21099d432a13
archs="x86_64* i686* armv[67]* ppc64* aarch64*" archs="x86_64* i686* armv[67]* ppc64* aarch64*"