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

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 17:48:03 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:48:03
  Author: foutrelis
Revision: 659864

upgpkg: electron7 7.1.14-6: re2 20200706 rebuild

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

----------------------+
 PKGBUILD             |   15 ++++++++--
 angle-gcc10.patch    |   26 +++++++++++++++++
 chromium-gcc10.patch |   34 ++++++++++++++++++++++
 perfetto-gcc10.patch |   28 ++++++++++++++++++
 webrtc-gcc10.patch   |   73 +++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 174 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 17:47:54 UTC (rev 659863)
+++ PKGBUILD	2020-07-07 17:48:03 UTC (rev 659864)
@@ -5,7 +5,7 @@
 pkgver=7.1.14
 _commit=0f082ecd5c378a36b5b9bd6d150a00d5dc34da6c
 _chromiumver=78.0.3904.130
-pkgrel=5
+pkgrel=6
 pkgdesc='Build cross platform desktop apps with web technologies'
 arch=('x86_64')
 url='https://electronjs.org/'
@@ -26,6 +26,10 @@
         'use-system-libraries-in-node.patch'
         'icu65.patch'
         'icu67.patch'
+        'chromium-gcc10.patch'
+        'angle-gcc10.patch'
+        'perfetto-gcc10.patch'
+        'webrtc-gcc10.patch'
         'glslang-remove-setAllocator.patch'
         'chromium-skia-harmony.patch'
         'chromium-system-icu.patch'
@@ -37,6 +41,10 @@
             '147563fe422108598af26c617edf78d146d4e70223e3093216d5f63a1ab051eff95abd0c8f8c0b6f8a504ae26557d65cd0ffd90c542d6534176b72b99ea44a5e'
             'd109937c4a5fba96e82d6fbc7b804943010d5723eef91af4f79355c8b84214da3978fc784dd0fcc3ed228c4684d0d06cf8cd21fa32fc5ec80c00d1bb4e3b9c90'
             '9b80bdda769a63f8550e4adfaa3b17cda6d3de45b2aa08adcbcf079256058a46537ed40d54e56c64595e608da8d8537e0d2cb5ece44a34636a1aadb47fb5e1ef'
+            '682cbc25a332ea30e2475fc39fa8e6ce395f65b974520121ccf7be90b7744b0f9b98313e2d9ac0e56a0e41fd444e8dec80a7e8565b7e91508bfe8234e4105f6b'
+            'fd8e523b657205ed1cb64581bd9e5597183c1575f0d0523dcc708e3b67e4ff2dcb962b41254b7ad7b180a317161ab47b7e262d2321ac1b21718c3b1bccc54c3e'
+            '047606dacc67dc689bac9d30540331c4f4a56f5ff664115c779b13376918a0279fa0466099aa5e36a6541faa7479ae567ac50a4d4b482cdc34c95ae04aceb51d'
+            'a4340a6b338768d51600853d101f7b4e06c7b733bda71f1e193c457edac3bb07887f7c307e60e26edf2fda47986788df8c4645b6ce26dae0d1e0b091f4520e91'
             'e34562b4b6cf4f0afa3f23afe7336fed4614201b39bfb73871899081161f5927d273c1da14b3ab7edeeb803300ba6e07c1ddf7261e8be12555cbfc4fe0a0d23c'
             '6fa7c5f737b3f86274b1f768aadf863dd7542fca9c8885d5c3804590bd04c288394c54b2003234be37d961f48b5470ce15254ba64b2716f8aceb181e1fd3c7c0'
             '7413e0cca7102008dd5bee443dcde90be69ef1d0973fee576f70544f0d0a66aa8bc7099e619c89160915d6cd6186384be46ffab4a1d747000133dda9a84e15e5'
@@ -139,6 +147,10 @@
   patch -Np0 -i ../chromium-skia-harmony.patch
   patch -Np1 -i ../icu65.patch
   patch -Np3 -d v8 <../icu67.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 -i ../chromium-system-icu.patch
   patch -Np1 -i ../chromium-system-zlib.patch
@@ -203,4 +215,3 @@
   install -Dm644 src/electron/default_app/icon.png \
           "$pkgdir"/usr/share/pixmaps/$pkgname.png  # hicolor has no 1024x1024
 }
-

Added: angle-gcc10.patch
===================================================================
--- angle-gcc10.patch	                        (rev 0)
+++ angle-gcc10.patch	2020-07-07 17:48:03 UTC (rev 659864)
@@ -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 17:48:03 UTC (rev 659864)
@@ -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 17:48:03 UTC (rev 659864)
@@ -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 17:48:03 UTC (rev 659864)
@@ -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