Skip to content

Commit 20a5a78

Browse files
committed
1 parent be6ccb5 commit 20a5a78

4 files changed

+98
-3
lines changed

electron/PKGBUILD

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Maintainer: Nicola Squartini <[email protected]>
22

33
_use_suffix=0
4-
pkgver=18.2.1
5-
_commit=3bc25c997d8b80f6f7f8e95e8d1e1f2d6bbfe543
6-
_chromiumver=100.0.4896.143
4+
pkgver=18.2.4
5+
_commit=f4ba63536a3558f814a81015ecbfaf3451be5694
6+
_chromiumver=100.0.4896.160
77
_gcc_patchset=4
88
# shellcheck disable=SC2034
99
pkgrel=1
@@ -56,6 +56,9 @@ source=('git+https://github.com/electron/electron.git'
5656
'use-system-libraries-in-node.patch'
5757
'webcodecs-stop-using-AudioOpusEncoder.patch'
5858
'webrtc-check-existence-of-cursor-metadata.patch'
59+
'fix-no-member-named-tie-in-namespace-std.patch'
60+
'iwyu-add-utility-for-std-exchange.patch'
61+
'iwyu-add-vector-needed-by-statsentry.patch'
5962
'enable-GlobalMediaControlsCastStartStop.patch'
6063
'sql-make-VirtualCursor-standard-layout-type.patch'
6164
)
@@ -71,6 +74,9 @@ sha256sums=('SKIP'
7174
'c70652a8b24c237bcfd27469de32797a2cb46d9f0d63d897bb6418314a25644c'
7275
'064daaa2b9d95b96ec04d8ddebf4af441f92263d123365b58fe73966866080af'
7376
'88b2c8d9c6c1917f6632453f18aad7a3fd94d605eecb6c77ae2394ac5856ba95'
77+
'7ad0106161bbf25e2e603ae1a723ae4217155ebb26eb4778363ad396e8c14156'
78+
'6f666ef0acb08704ca58cc0d5e97e7ce64d8fea51042e593adae1ce15a61231c'
79+
'0ec88c8022c946ac333cbc1060d6b9cacbef6c4a86fe8763d23add6939a3c490'
7480
'779fb13f2494209d3a7f1f23a823e59b9dded601866d3ab095937a1a04e19ac6'
7581
'b94b2e88f63cfb7087486508b8139599c89f96d7a4181c61fec4b4e250ca327a'
7682
)
@@ -170,6 +176,11 @@ prepare() {
170176
patch -Np1 -i ../webcodecs-stop-using-AudioOpusEncoder.patch
171177
patch -Np1 -d third_party/webrtc <../webrtc-check-existence-of-cursor-metadata.patch
172178

179+
# Upstream fixes
180+
patch -Np1 -i ../fix-no-member-named-tie-in-namespace-std.patch
181+
patch -Np1 -i ../iwyu-add-utility-for-std-exchange.patch
182+
patch -Np1 -i ../iwyu-add-vector-needed-by-statsentry.patch
183+
173184
# Revert kGlobalMediaControlsCastStartStop enabled by default
174185
# https://crbug.com/1314342
175186
patch -Rp1 -F3 -i ../enable-GlobalMediaControlsCastStartStop.patch
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
From 68c9c63c0b148ff5246a0cdad59000697bbd8645 Mon Sep 17 00:00:00 2001
2+
From: Maksim Sisov <[email protected]>
3+
Date: Tue, 12 Apr 2022 15:11:34 +0000
4+
Subject: [PATCH] Fix no member named 'tie' in namespace 'std'
5+
6+
Bug: None
7+
Change-Id: I8a097af2b16b738fa9bbb8231536bca85522f350
8+
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3581869
9+
Auto-Submit: Maksim Sisov <[email protected]>
10+
Reviewed-by: Matt Menke <[email protected]>
11+
Commit-Queue: Matt Menke <[email protected]>
12+
Cr-Commit-Position: refs/heads/main@{#991529}
13+
---
14+
net/base/address_list.h | 1 +
15+
1 file changed, 1 insertion(+)
16+
17+
diff --git a/net/base/address_list.h b/net/base/address_list.h
18+
index 029af1aded3..a93093e41f3 100644
19+
--- a/net/base/address_list.h
20+
+++ b/net/base/address_list.h
21+
@@ -8,6 +8,7 @@
22+
#include <stdint.h>
23+
24+
#include <string>
25+
+#include <tuple>
26+
#include <utility>
27+
#include <vector>
28+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
From 9dd0503835dc875807ab63efb1f477bffed2a852 Mon Sep 17 00:00:00 2001
2+
From: Stephan Hartmann <[email protected]>
3+
Date: Mon, 25 Apr 2022 23:18:30 +0000
4+
Subject: [PATCH] IWYU: add utility for std::exchange
5+
6+
Bug: 957519
7+
Change-Id: I307d520fdc34d2452018ed32a505e7e519739410
8+
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3604643
9+
Reviewed-by: Wez <[email protected]>
10+
Commit-Queue: Stephan Hartmann <[email protected]>
11+
Cr-Commit-Position: refs/heads/main@{#995855}
12+
---
13+
base/third_party/symbolize/symbolize.h | 1 +
14+
1 file changed, 1 insertion(+)
15+
16+
diff --git a/base/third_party/symbolize/symbolize.h b/base/third_party/symbolize/symbolize.h
17+
index 99029a968d5..278078f6071 100644
18+
--- a/base/third_party/symbolize/symbolize.h
19+
+++ b/base/third_party/symbolize/symbolize.h
20+
@@ -61,6 +61,7 @@
21+
#ifdef HAVE_SYMBOLIZE
22+
23+
#include <algorithm>
24+
+#include <utility>
25+
26+
#if defined(__ELF__) // defined by gcc
27+
#if defined(__OpenBSD__)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
From 72b521be7640a1b06adf6881b12277276ab8609d Mon Sep 17 00:00:00 2001
2+
From: Piotr Tworek <[email protected]>
3+
Date: Wed, 06 Apr 2022 19:34:29 +0000
4+
Subject: [PATCH] IWYU: Add vector needed by StatsEntry.
5+
6+
This builds fine with libc++, but fails due to std::vector being
7+
undefined when using libstdc++. Add missing vector include to fix this.
8+
9+
Bug: 957519
10+
Change-Id: I12f91636fe9c69046ae36528e48782acf741b66c
11+
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3557455
12+
Auto-Submit: Piotr Tworek <[email protected]>
13+
Reviewed-by: Chrome Cunningham <[email protected]>
14+
Commit-Queue: Chrome Cunningham <[email protected]>
15+
Cr-Commit-Position: refs/heads/main@{#989578}
16+
---
17+
18+
diff --git a/media/capabilities/webrtc_video_stats_db.h b/media/capabilities/webrtc_video_stats_db.h
19+
index 8a5c0cf..0e8653b 100644
20+
--- a/media/capabilities/webrtc_video_stats_db.h
21+
+++ b/media/capabilities/webrtc_video_stats_db.h
22+
@@ -7,6 +7,7 @@
23+
24+
#include <memory>
25+
#include <string>
26+
+#include <vector>
27+
28+
#include "base/callback_forward.h"
29+
#include "base/check.h"

0 commit comments

Comments
 (0)