[arch-commits] Commit in electron5/trunk (5 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 19:01:16 UTC 2020


    Date: Tuesday, July 7, 2020 @ 19:01:16
  Author: foutrelis
Revision: 660118

upgpkg: electron5 5.0.13-6: re2 20200706 rebuild

Added:
  electron5/trunk/angle-gcc10.patch
  electron5/trunk/chromium-gcc10.patch
  electron5/trunk/perfetto-gcc10.patch
  electron5/trunk/webrtc-gcc10.patch
Modified:
  electron5/trunk/PKGBUILD

----------------------+
 PKGBUILD             |   14 ++++++++-
 angle-gcc10.patch    |   26 +++++++++++++++++
 chromium-gcc10.patch |   34 ++++++++++++++++++++++
 perfetto-gcc10.patch |   28 ++++++++++++++++++
 webrtc-gcc10.patch   |   73 +++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 174 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 18:59:17 UTC (rev 660117)
+++ PKGBUILD	2020-07-07 19:01:16 UTC (rev 660118)
@@ -4,7 +4,7 @@
 pkgver=5.0.13
 _commit=f5fab127ca0eff5336e6cd469c794fdb9e3330b4
 _chromiumver=73.0.3683.121
-pkgrel=5
+pkgrel=6
 pkgdesc='Build cross platform desktop apps with web technologies'
 arch=('x86_64')
 url='https://electronjs.org/'
@@ -28,6 +28,10 @@
         'chromium-skia-harmony.patch'
         'icu65.patch'
         'simplified-ListFormat-implementation.patch'
+        'chromium-gcc10.patch'
+        'angle-gcc10.patch'
+        'perfetto-gcc10.patch'
+        'webrtc-gcc10.patch'
         'glslang-remove-setAllocator.patch'
         'chromium-system-icu.patch'
         'chromium-webrtc-fix-SIOCGSTAMP-include.patch'
@@ -43,6 +47,10 @@
             '5887f78b55c4ecbbcba5930f3f0bb7bc0117c2a41c2f761805fcf7f46f1ca2b3'
             '1de9bdbfed482295dda45c7d4e323cee55a34e42f66b892da1c1a778682b7a41'
             '49cb3444eae2bf8aa83b4f8704023512dba4bf30f3caafc6dbd5ed874b7da72b'
+            '64ebab5900488c0e646301609c662a167d8212109b336bfa451a9e65f5b6e630'
+            '355e24e434604ee61995153f817d4a1aa29ae6c7264b21e1c7ea0d45f61d8a0f'
+            '1ab11901ffac0ec4f539121ee6d5035461747459c33e79849d5c99d0216b7950'
+            'f7c8e2911d44b4b627ba8ff3f76e906d64208452ba5ec59599ea081e6b6442d6'
             '06738b3f2d3579cd9b4d1ff876ba93d6b10a741b4deb4eab7fe3008cc577c893'
             'e2d284311f49c529ea45083438a768db390bde52949995534034d2a814beab89'
             'f73a3226b60833f7cc12f2bd8e3569284e6c26ea6cdd97eb5f45797ed29a323a')
@@ -145,6 +153,10 @@
   patch -Np0 -i ../chromium-skia-harmony.patch
   patch -Np1 -i ../icu65.patch
   patch -Np1 -d v8 <../simplified-ListFormat-implementation.patch
+  patch -Np1 -i ../chromium-gcc10.patch
+  patch -Np1 -d third_party/angle <../angle-gcc10.patch
+  patch -Np1 -d third_party/perfetto <../perfetto-gcc10.patch
+  patch -Np1 -d third_party/webrtc <../webrtc-gcc10.patch
   patch -Np1 -d third_party/glslang/src <../glslang-remove-setAllocator.patch
   patch -Np1 -d third_party/angle/third_party/glslang/src <../glslang-remove-setAllocator.patch
   patch -Np1 -i ../chromium-system-icu.patch

Added: angle-gcc10.patch
===================================================================
--- angle-gcc10.patch	                        (rev 0)
+++ angle-gcc10.patch	2020-07-07 19:01:16 UTC (rev 660118)
@@ -0,0 +1,26 @@
+From 9a481b6ec835cfd0d4014c0b11f03c27a209f305 Mon Sep 17 00:00:00 2001
+From: Pierre-Marc Berube <pmberube at google.com>
+Date: Tue, 18 Feb 2020 19:21:34 -0500
+Subject: [PATCH] Add missing #include to fix build with GCC 10.
+
+Bug: angleproject:4389
+Change-Id: I4a2f04a12a059924871f5d54f137c67670747ebd
+Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2063042
+Reviewed-by: Jamie Madill <jmadill at chromium.org>
+Commit-Queue: Jamie Madill <jmadill at chromium.org>
+---
+ include/platform/Platform.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/platform/Platform.h b/include/platform/Platform.h
+index b603ff9ba..131674008 100644
+--- a/include/platform/Platform.h
++++ b/include/platform/Platform.h
+@@ -10,6 +10,7 @@
+ #define ANGLE_PLATFORM_H
+ 
+ #include <stdint.h>
++#include <stdlib.h>
+ #include <array>
+ 
+ #define EGL_PLATFORM_ANGLE_PLATFORM_METHODS_ANGLEX 0x3482

Added: chromium-gcc10.patch
===================================================================
--- chromium-gcc10.patch	                        (rev 0)
+++ chromium-gcc10.patch	2020-07-07 19:01:16 UTC (rev 660118)
@@ -0,0 +1,34 @@
+From 17902f2263622eb21bd8adddf078355dbe7654a5 Mon Sep 17 00:00:00 2001
+From: Chisoon Jeong <chisoon.jeong at lge.com>
+Date: Tue, 31 Mar 2020 18:02:12 +0000
+Subject: [PATCH] Add #include <stddef.h> for clarity and supporting gcc
+ compilation
+
+Depending on compilation environments of gcc, supported_cdm_versions.h|cc
+is not compiled. To fix this issue add '#include <stddef.h>' in
+supported_cdm_versions.h
+
+Change-Id: I0f56cb4f69e1fb3867a1c168a28431661341784b
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2117912
+Reviewed-by: Nico Weber <thakis at chromium.org>
+Reviewed-by: Scott Violet <sky at chromium.org>
+Reviewed-by: John Rummell <jrummell at chromium.org>
+Commit-Queue: Nico Weber <thakis at chromium.org>
+Cr-Commit-Position: refs/heads/master@{#755016}
+---
+ media/cdm/supported_cdm_versions.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/media/cdm/supported_cdm_versions.h b/media/cdm/supported_cdm_versions.h
+index dbe59ba5ea7..25bb6ed3f33 100644
+--- a/media/cdm/supported_cdm_versions.h
++++ b/media/cdm/supported_cdm_versions.h
+@@ -5,6 +5,8 @@
+ #ifndef MEDIA_CDM_SUPPORTED_CDM_VERSIONS_H_
+ #define MEDIA_CDM_SUPPORTED_CDM_VERSIONS_H_
+ 
++#include <stddef.h>
++
+ #include <array>
+ 
+ #include "media/base/media_export.h"

Added: perfetto-gcc10.patch
===================================================================
--- perfetto-gcc10.patch	                        (rev 0)
+++ perfetto-gcc10.patch	2020-07-07 19:01:16 UTC (rev 660118)
@@ -0,0 +1,28 @@
+From 0e7ca0bf9872932322563e70bcf84eb033ffde4f Mon Sep 17 00:00:00 2001
+From: Chisoon Jeong <chisoon.jeong at lge.com>
+Date: Tue, 24 Mar 2020 19:46:20 +0900
+Subject: [PATCH] Add #include <stdint.h> in
+ include/perfetto/base/task_runner.h
+
+Depending on compilation environment, task_runner.h|cc is
+not compiled due to missing stdint.h. This change includes stdint.h in
+task_runner.h to fix this issue.
+
+Change-Id: I6dcfbd4ad62cbd287b8e75e306930ad00731048a
+---
+ include/perfetto/base/task_runner.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/include/perfetto/base/task_runner.h b/include/perfetto/base/task_runner.h
+index cf6040123..040aab2b7 100644
+--- a/include/perfetto/base/task_runner.h
++++ b/include/perfetto/base/task_runner.h
+@@ -17,6 +17,8 @@
+ #ifndef INCLUDE_PERFETTO_BASE_TASK_RUNNER_H_
+ #define INCLUDE_PERFETTO_BASE_TASK_RUNNER_H_
+ 
++#include <stdint.h>
++
+ #include <functional>
+ 
+ #include "perfetto/base/export.h"

Added: webrtc-gcc10.patch
===================================================================
--- webrtc-gcc10.patch	                        (rev 0)
+++ webrtc-gcc10.patch	2020-07-07 19:01:16 UTC (rev 660118)
@@ -0,0 +1,73 @@
+From 03fade52dae736275c4f4e7fe1cbd6fe82d7aa4c Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09 at googlemail.com>
+Date: Sat, 2 May 2020 12:17:05 +0000
+Subject: [PATCH] IWYU: uint32_t is defined in cstdint
+
+This is required for gcc-10.
+
+Bug: None
+Change-Id: I0d04f720d09b42e1d54e058b897ddc047ef64bf6
+Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/174204
+Reviewed-by: Magnus Flodman <mflodman at webrtc.org>
+Commit-Queue: Mirko Bonadei <mbonadei at webrtc.org>
+Cr-Commit-Position: refs/heads/master@{#31184}
+---
+ AUTHORS                   | 1 +
+ call/rtx_receive_stream.h | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/call/rtx_receive_stream.h b/call/rtx_receive_stream.h
+index 8ffa4400a9..a389fc2a57 100644
+--- a/call/rtx_receive_stream.h
++++ b/call/rtx_receive_stream.h
+@@ -11,6 +11,7 @@
+ #ifndef CALL_RTX_RECEIVE_STREAM_H_
+ #define CALL_RTX_RECEIVE_STREAM_H_
+ 
++#include <cstdint>
+ #include <map>
+ 
+ #include "call/rtp_packet_sink_interface.h"
+
+From 3ca2836f701fc2fbc2ddaa0000d6ad655b5e3caa Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09 at googlemail.com>
+Date: Sun, 31 May 2020 09:01:38 +0000
+Subject: [PATCH] IWYU: size_t is defined in stddef.h
+
+This required for gcc-10.
+
+Bug: None
+Change-Id: Iba3ff0881005cb2ae4574e47284a1b881594de86
+Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176361
+Reviewed-by: Ivo Creusen <ivoc at webrtc.org>
+Commit-Queue: Ivo Creusen <ivoc at webrtc.org>
+Cr-Commit-Position: refs/heads/master@{#31417}
+---
+ modules/audio_processing/aec3/clockdrift_detector.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/modules/audio_processing/aec3/clockdrift_detector.h b/modules/audio_processing/aec3/clockdrift_detector.h
+index 22528c9489..2ba90bb889 100644
+--- a/modules/audio_processing/aec3/clockdrift_detector.h
++++ b/modules/audio_processing/aec3/clockdrift_detector.h
+@@ -11,6 +11,8 @@
+ #ifndef MODULES_AUDIO_PROCESSING_AEC3_CLOCKDRIFT_DETECTOR_H_
+ #define MODULES_AUDIO_PROCESSING_AEC3_CLOCKDRIFT_DETECTOR_H_
+ 
++#include <stddef.h>
++
+ #include <array>
+ 
+ namespace webrtc {
+
+diff --meow-im-a-cat a/modules/video_coding/decoding_state.h b/modules/video_coding/decoding_state.h
+--- a/modules/video_coding/decoding_state.h	2020-07-07 15:58:30.000000000 +0000
++++ b/modules/video_coding/decoding_state.h	2020-07-07 16:24:41.667578586 +0000
+@@ -11,6 +11,7 @@
+ #ifndef MODULES_VIDEO_CODING_DECODING_STATE_H_
+ #define MODULES_VIDEO_CODING_DECODING_STATE_H_
+ 
++#include <cstdint>
+ #include <map>
+ #include <set>
+ #include <vector>



More information about the arch-commits mailing list