Github messages for voidlinux
 help / color / mirror / Atom feed
From: Johnnynator <Johnnynator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] chromium: update to 91.0.4472.77.
Date: Thu, 27 May 2021 16:52:27 +0200	[thread overview]
Message-ID: <20210527145227.1BwP0GZR2-iNX7BleVWmjXiE-Eeu1uuXPMM8cC_BxeQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31142@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

There is an updated pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages chromium-91.0.4472.77
https://github.com/void-linux/void-packages/pull/31142

chromium: update to 91.0.4472.77.
<!-- Mark items with [x] where applicable -->

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] x86_64
- [ ] x86_64-musl
- [ ] i686

[ci skip] to make ericonr happy

A patch file from https://github.com/void-linux/void-packages/pull/31142.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-91.0.4472.77-31142.patch --]
[-- Type: text/x-diff, Size: 22260 bytes --]

From b672bdb2b9d2dfd6665328e349ce054f509234cc Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Wed, 26 May 2021 21:46:59 +0200
Subject: [PATCH] chromium: update to 91.0.4472.77.

---
 .../files/musl-patches/musl-fixes.patch       | 11 ----
 .../files/musl-patches/musl-hacks.patch       | 12 +++++
 .../files/musl-patches/resolver.patch         | 37 ++++++++++++++
 .../musl-patches/xxx-ppc64le-support.patch    | 23 ++++-----
 .../chromium-90-TokenizedOutput-include.patch | 24 ---------
 .../patches/chromium-90-angle-constexpr.patch | 28 ----------
 ...romium-90-quantization_utils-include.patch | 24 ---------
 ...lang-nomerge-attribute-to-CheckError.patch | 25 ---------
 .../chromium-revert-drop-of-system-java.patch | 15 ++++++
 ...ejs.patch => chromium-system-nodejs.patch} | 14 +++--
 .../patches/fix-crash-in-ThemeService.patch   | 45 ++++++++++++++++
 srcpkgs/chromium/patches/time64.patch         | 51 -------------------
 .../patches/xxx-ppc64le-support.patch         | 20 ++++----
 srcpkgs/chromium/template                     |  6 +--
 14 files changed, 138 insertions(+), 197 deletions(-)
 delete mode 100644 srcpkgs/chromium/patches/chromium-90-TokenizedOutput-include.patch
 delete mode 100644 srcpkgs/chromium/patches/chromium-90-angle-constexpr.patch
 delete mode 100644 srcpkgs/chromium/patches/chromium-90-quantization_utils-include.patch
 delete mode 100644 srcpkgs/chromium/patches/chromium-90-revert-add-clang-nomerge-attribute-to-CheckError.patch
 create mode 100644 srcpkgs/chromium/patches/chromium-revert-drop-of-system-java.patch
 rename srcpkgs/chromium/patches/{system-nodejs.patch => chromium-system-nodejs.patch} (61%)
 create mode 100644 srcpkgs/chromium/patches/fix-crash-in-ThemeService.patch
 delete mode 100644 srcpkgs/chromium/patches/time64.patch

diff --git a/srcpkgs/chromium/files/musl-patches/musl-fixes.patch b/srcpkgs/chromium/files/musl-patches/musl-fixes.patch
index fb84bd986489..728f2b473ce3 100644
--- a/srcpkgs/chromium/files/musl-patches/musl-fixes.patch
+++ b/srcpkgs/chromium/files/musl-patches/musl-fixes.patch
@@ -190,17 +190,6 @@ diff --git a/third_party/ots/include/opentype-sanitiser.h b/third_party/ots/incl
  
  /*
   * GNU-specific, but avoids the realpath(..., NULL)
---- mojo/public/cpp/platform/named_platform_channel_posix.cc.orig	2020-07-19 13:26:10.696171063 -0400
-+++ mojo/public/cpp/platform/named_platform_channel_posix.cc	2020-07-19 13:26:43.680151714 -0400
-@@ -5,6 +5,7 @@
- #include "mojo/public/cpp/platform/named_platform_channel.h"
- 
- #include <errno.h>
-+#include <string.h>
- #include <sys/socket.h>
- #include <sys/un.h>
- #include <unistd.h>
-
 --- third_party/perfetto/include/perfetto/ext/base/thread_utils.h
 +++ third_party/perfetto/include/perfetto/ext/base/thread_utils.h
 @@ -29,7 +29,7 @@
diff --git a/srcpkgs/chromium/files/musl-patches/musl-hacks.patch b/srcpkgs/chromium/files/musl-patches/musl-hacks.patch
index edc1b060dfb0..1238970d4f80 100644
--- a/srcpkgs/chromium/files/musl-patches/musl-hacks.patch
+++ b/srcpkgs/chromium/files/musl-patches/musl-hacks.patch
@@ -20,3 +20,15 @@
    int result = HANDLE_EINTR(Sendmmsg(fd, &msgvec[0], buffers.size(), 0));
    SendResult send_result(0, 0, std::move(buffers));
    if (result < 0) {
+--- base/debug/stack_trace.cc	2021-05-25 00:05:31.000000000 +0200
++++ -	2021-05-27 13:46:43.740380140 +0200
+@@ -217,7 +217,9 @@
+ }
+ 
+ void StackTrace::OutputToStream(std::ostream* os) const {
++#if defined(__GLIBC__)
+   OutputToStreamWithPrefix(os, nullptr);
++#endif
+ }
+ 
+ std::string StackTrace::ToString() const {
diff --git a/srcpkgs/chromium/files/musl-patches/resolver.patch b/srcpkgs/chromium/files/musl-patches/resolver.patch
index 29fe2d2f1f3c..fb8b0ddccda6 100644
--- a/srcpkgs/chromium/files/musl-patches/resolver.patch
+++ b/srcpkgs/chromium/files/musl-patches/resolver.patch
@@ -36,3 +36,40 @@
    DnsReloaderMaybeReload();
  #endif
    base::Optional<AddressInfo> ai;
+--- net/dns/dns_config_service_linux.cc.orig
++++ net/dns/dns_config_service_linux.cc
+@@ -432,12 +432,6 @@
+     base::ScopedBlockingCall scoped_blocking_call(
+         FROM_HERE, base::BlockingType::MAY_BLOCK);
+ 
+-    std::unique_ptr<struct __res_state> res = resolv_reader_->GetResState();
+-    if (res) {
+-      dns_config_ = ConvertResStateToDnsConfig(*res.get());
+-      resolv_reader_->CloseResState(res.get());
+-    }
+-
+     UMA_HISTOGRAM_BOOLEAN("Net.DNS.DnsConfig.Resolv.Read",
+                           dns_config_.has_value());
+     if (!dns_config_.has_value())
+@@ -486,20 +480,11 @@
+ 
+ std::unique_ptr<struct __res_state>
+ DnsConfigServiceLinux::ResolvReader::GetResState() {
+-  auto res = std::make_unique<struct __res_state>();
+-  memset(res.get(), 0, sizeof(struct __res_state));
+-
+-  if (res_ninit(res.get()) != 0) {
+-    CloseResState(res.get());
+-    return nullptr;
+-  }
+-
+-  return res;
++  return nullptr;
+ }
+ 
+ void DnsConfigServiceLinux::ResolvReader::CloseResState(
+     struct __res_state* res) {
+-  res_nclose(res);
+ }
+ 
+ DnsConfigServiceLinux::DnsConfigServiceLinux()
diff --git a/srcpkgs/chromium/files/musl-patches/xxx-ppc64le-support.patch b/srcpkgs/chromium/files/musl-patches/xxx-ppc64le-support.patch
index 1e0bca1439a6..bfa99d88a9b3 100644
--- a/srcpkgs/chromium/files/musl-patches/xxx-ppc64le-support.patch
+++ b/srcpkgs/chromium/files/musl-patches/xxx-ppc64le-support.patch
@@ -1,18 +1,15 @@
-diff --git base/allocator/partition_allocator/partition_freelist_entry.h base/allocator/partition_allocator/partition_freelist_entry.h
-index f7703ee..57b6e6c 100644
---- base/allocator/partition_allocator/partition_freelist_entry.h
-+++ base/allocator/partition_allocator/partition_freelist_entry.h
-@@ -19,8 +19,10 @@
- // Disabled on ARM64 Macs, as this crashes very early (crbug.com/1172236).
- // TODO(lizeb): Enable in as many configurations as possible.
- #if !(defined(OS_MAC) && defined(ARCH_CPU_ARM64))
-+#if !defined(__powerpc64__)
+--- base/allocator/partition_allocator/partition_alloc_config.h	2021-05-25 00:05:31.000000000 +0200
++++ -	2021-05-26 22:23:47.172940826 +0200
+@@ -71,7 +71,8 @@
+ // REF_COUNT_AT_END_OF_ALLOCATION does. In this case the refcount overlaps with
+ // the next pointer shadow for the smallest bucket.
+ #if !(defined(OS_MAC) && defined(ARCH_CPU_ARM64)) && \
+-    !BUILDFLAG(REF_COUNT_AT_END_OF_ALLOCATION)
++    !BUILDFLAG(REF_COUNT_AT_END_OF_ALLOCATION) && \
++    !defined(__powerpc64__)
  #define PA_HAS_FREELIST_HARDENING
  #endif
-+#endif
- 
- namespace base {
- namespace internal {
+
 diff --git sandbox/linux/bpf_dsl/seccomp_macros.h sandbox/linux/bpf_dsl/seccomp_macros.h
 index a6aec544e..2a4a7f1bc 100644
 --- sandbox/linux/bpf_dsl/seccomp_macros.h
diff --git a/srcpkgs/chromium/patches/chromium-90-TokenizedOutput-include.patch b/srcpkgs/chromium/patches/chromium-90-TokenizedOutput-include.patch
deleted file mode 100644
index bad98247e735..000000000000
--- a/srcpkgs/chromium/patches/chromium-90-TokenizedOutput-include.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 30dcae908492a3ec811b5f5b9f518d792a01da38 Mon Sep 17 00:00:00 2001
-From: Stephan Hartmann <stha09@googlemail.com>
-Date: Sun, 28 Feb 2021 12:36:04 +0000
-Subject: [PATCH] IWYU: include missing cstring for strlen
-
----
- .../translate/core/language_detection/ngram_hash_ops_utils.cc    | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/components/translate/core/language_detection/ngram_hash_ops_utils.cc b/components/translate/core/language_detection/ngram_hash_ops_utils.cc
-index cf91033..dd03a3d 100644
---- components/translate/core/language_detection/ngram_hash_ops_utils.cc
-+++ components/translate/core/language_detection/ngram_hash_ops_utils.cc
-@@ -4,6 +4,7 @@
- 
- #include "components/translate/core/language_detection/ngram_hash_ops_utils.h"
- 
-+#include <cstring>
- #include <vector>
- 
- #include "third_party/utf/src/include/utf.h"
--- 
-2.26.2
-
diff --git a/srcpkgs/chromium/patches/chromium-90-angle-constexpr.patch b/srcpkgs/chromium/patches/chromium-90-angle-constexpr.patch
deleted file mode 100644
index 5e0c253cb51a..000000000000
--- a/srcpkgs/chromium/patches/chromium-90-angle-constexpr.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From b1669139f475ebe39ded6f7905f4c901f17eef83 Mon Sep 17 00:00:00 2001
-From: Stephan Hartmann <stha09@googlemail.com>
-Date: Wed, 24 Feb 2021 07:38:37 +0000
-Subject: [PATCH] add missing static constexpr member definition
-
-C++14 requires to definition of static constexpr members to
-emit a linker symbol.
----
- .../angle/src/libANGLE/renderer/glslang_wrapper_utils.cpp      | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/third_party/angle/src/libANGLE/renderer/glslang_wrapper_utils.cpp b/third_party/angle/src/libANGLE/renderer/glslang_wrapper_utils.cpp
-index 56b46e6..8f8158c 100644
---- third_party/angle/src/libANGLE/renderer/glslang_wrapper_utils.cpp
-+++ third_party/angle/src/libANGLE/renderer/glslang_wrapper_utils.cpp
-@@ -2069,6 +2069,9 @@ class SpirvTransformFeedbackCodeGenerator final : angle::NonCopyable
-     spirv::IdRef mTransformFeedbackExtensionPositionId;
- };
- 
-+constexpr size_t SpirvTransformFeedbackCodeGenerator::kXfbDecorationCount;
-+constexpr spv::Decoration SpirvTransformFeedbackCodeGenerator::kXfbDecorations[kXfbDecorationCount];
-+
- void SpirvTransformFeedbackCodeGenerator::visitVariable(const ShaderInterfaceVariableInfo &info,
-                                                         gl::ShaderType shaderType,
-                                                         const spirv::LiteralString &name,
--- 
-2.26.2
-
diff --git a/srcpkgs/chromium/patches/chromium-90-quantization_utils-include.patch b/srcpkgs/chromium/patches/chromium-90-quantization_utils-include.patch
deleted file mode 100644
index 2cfb06430b7d..000000000000
--- a/srcpkgs/chromium/patches/chromium-90-quantization_utils-include.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 980ae0fbe6d985efce517c8f6c9aa139b076322b Mon Sep 17 00:00:00 2001
-From: Stephan Hartmann <stha09@googlemail.com>
-Date: Sun, 28 Feb 2021 12:55:19 +0000
-Subject: [PATCH] IWYU: add missing cstdint for uint32_t
-
----
- .../translate/core/language_detection/quantization_utils.h       | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/components/translate/core/language_detection/quantization_utils.h b/components/translate/core/language_detection/quantization_utils.h
-index eb8f6d1..699a488 100644
---- components/translate/core/language_detection/quantization_utils.h
-+++ components/translate/core/language_detection/quantization_utils.h
-@@ -7,6 +7,7 @@
- 
- #include <algorithm>
- #include <cmath>
-+#include <cstdint>
- 
- namespace translate {
- 
--- 
-2.26.2
-
diff --git a/srcpkgs/chromium/patches/chromium-90-revert-add-clang-nomerge-attribute-to-CheckError.patch b/srcpkgs/chromium/patches/chromium-90-revert-add-clang-nomerge-attribute-to-CheckError.patch
deleted file mode 100644
index 094a94feb095..000000000000
--- a/srcpkgs/chromium/patches/chromium-90-revert-add-clang-nomerge-attribute-to-CheckError.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- base/check.h.orig	2021-04-15 19:44:05.656259734 -0400
-+++ base/check.h	2021-04-15 19:44:13.386279197 -0400
-@@ -85,7 +85,7 @@
-   // Stream for adding optional details to the error message.
-   std::ostream& stream();
- 
--  NOMERGE ~CheckError();
-+  ~CheckError();
- 
-   CheckError(const CheckError& other) = delete;
-   CheckError& operator=(const CheckError& other) = delete;
---- base/compiler_specific.h.orig	2021-04-15 19:44:28.781317968 -0400
-+++ base/compiler_specific.h	2021-04-15 19:44:54.136381820 -0400
-@@ -332,11 +332,4 @@
- 
- #endif  // defined(__clang_analyzer__)
- 
--// Use nomerge attribute to disable optimization of merging multiple same calls.
--#if defined(__clang__) && __has_attribute(nomerge) && !defined(OS_CHROMEOS)
--#define NOMERGE [[clang::nomerge]]
--#else
--#define NOMERGE
--#endif
--
- #endif  // BASE_COMPILER_SPECIFIC_H_
diff --git a/srcpkgs/chromium/patches/chromium-revert-drop-of-system-java.patch b/srcpkgs/chromium/patches/chromium-revert-drop-of-system-java.patch
new file mode 100644
index 000000000000..69c16fc0c487
--- /dev/null
+++ b/srcpkgs/chromium/patches/chromium-revert-drop-of-system-java.patch
@@ -0,0 +1,15 @@
+This was dropped for some reason in 6951c37cecd05979b232a39e5c10e6346a0f74ef
+--- third_party/closure_compiler/compiler.py	2021-05-20 04:17:53.000000000 +0200
++++ -	2021-05-25 20:31:10.102971765 +0200
+@@ -13,8 +13,9 @@
+ 
+ 
+ _CURRENT_DIR = os.path.join(os.path.dirname(__file__))
+-_JAVA_PATH = os.path.join(_CURRENT_DIR, "..", "jdk", "current", "bin", "java")
+-assert os.path.isfile(_JAVA_PATH), "java only allowed in android builds"
++_JAVA_BIN = "java"
++_JDK_PATH = os.path.join(_CURRENT_DIR, "..", "jdk", "current", "bin", "java")
++_JAVA_PATH = _JDK_PATH if os.path.isfile(_JDK_PATH) else _JAVA_BIN
+ 
+ class Compiler(object):
+   """Runs the Closure compiler on given source files to typecheck them
diff --git a/srcpkgs/chromium/patches/system-nodejs.patch b/srcpkgs/chromium/patches/chromium-system-nodejs.patch
similarity index 61%
rename from srcpkgs/chromium/patches/system-nodejs.patch
rename to srcpkgs/chromium/patches/chromium-system-nodejs.patch
index 99d653955f05..866b516656fd 100644
--- a/srcpkgs/chromium/patches/system-nodejs.patch
+++ b/srcpkgs/chromium/patches/chromium-system-nodejs.patch
@@ -1,11 +1,9 @@
-diff --git third_party/node/node.py third_party/node/node.py
-index 8097e2c49..10e6a16ea 100755
---- third_party/node/node.py
-+++ third_party/node/node.py
-@@ -10,11 +10,12 @@ import sys
- 
- 
- def GetBinaryPath():
+--- third_party/node/node.py	2021-05-20 04:17:54.000000000 +0200
++++ -	2021-05-25 11:57:32.895222559 +0200
+@@ -17,11 +17,12 @@
+   if platform.system() == 'Darwin' and platform.machine() == 'arm64':
+       return os.path.join(os_path.join(os_path.dirname(__file__), 'mac',
+                           'node-darwin-arm64', 'bin', 'node'))
 -  return os_path.join(os_path.dirname(__file__), *{
 -    'Darwin': ('mac', 'node-darwin-x64', 'bin', 'node'),
 -    'Linux': ('linux', 'node-linux-x64', 'bin', 'node'),
diff --git a/srcpkgs/chromium/patches/fix-crash-in-ThemeService.patch b/srcpkgs/chromium/patches/fix-crash-in-ThemeService.patch
new file mode 100644
index 000000000000..419e6e9d7c9e
--- /dev/null
+++ b/srcpkgs/chromium/patches/fix-crash-in-ThemeService.patch
@@ -0,0 +1,45 @@
+From c2d0133f47afb59b4ce64e42215d1d053f15250a Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09@googlemail.com>
+Date: Tue, 13 Apr 2021 23:21:42 +0000
+Subject: [PATCH] fix crash in ThemeService
+
+ThemeSyncableService and ThemeService are owned by each other. On
+destruction of ThemeService, ThemeSyncableService gets destructed as
+well, but calls RemoveObserver of partly destructed ThemeService object.
+To avoid already destructed |observers_| list, move it before
+|theme_syncable_service_| definition.
+
+Bug: 1190561
+Change-Id: I4dc2c990d589071d97b7fa737afef54463c84751
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2821311
+Commit-Queue: Peter Kasting <pkasting@chromium.org>
+Reviewed-by: Peter Kasting <pkasting@chromium.org>
+Cr-Commit-Position: refs/heads/master@{#872164}
+---
+ chrome/browser/themes/theme_service.h | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git chrome/browser/themes/theme_service.h chrome/browser/themes/theme_service.h
+index 592d40ae9de0f..337dfac9a040f 100644
+--- chrome/browser/themes/theme_service.h
++++ chrome/browser/themes/theme_service.h
+@@ -299,6 +299,10 @@ class ThemeService : public KeyedService,
+   // The number of infobars currently displayed.
+   int number_of_reinstallers_ = 0;
+ 
++  // Declared before |theme_syncable_service_|, because ThemeSyncableService
++  // removes itself from the |observers_| list on destruction.
++  base::ObserverList<ThemeServiceObserver> observers_;
++
+   std::unique_ptr<ThemeSyncableService> theme_syncable_service_;
+ 
+ #if BUILDFLAG(ENABLE_EXTENSIONS)
+@@ -320,8 +324,6 @@ class ThemeService : public KeyedService,
+   ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver>
+       native_theme_observer_{this};
+ 
+-  base::ObserverList<ThemeServiceObserver> observers_;
+-
+   base::WeakPtrFactory<ThemeService> weak_ptr_factory_{this};
+ 
+   DISALLOW_COPY_AND_ASSIGN(ThemeService);
diff --git a/srcpkgs/chromium/patches/time64.patch b/srcpkgs/chromium/patches/time64.patch
deleted file mode 100644
index b1ad93590033..000000000000
--- a/srcpkgs/chromium/patches/time64.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Description: allow sandboxed code to call gettime64
- Add __NR_clock_gettime64 and __NR_clock_nanosleep_time64 to syscall whitelist
- and clock selection parameter filtering code.
-
- Add __NR_utimensat_time64 to syscall whitelist
-
- Conditionalise additions on the new calls existing, because they do not exist
- on 64-bit architectures.
-Author: Peter Michael Green <plugwash@raspbian.org>
-
-Index: chromium-83.0.4103.116/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-===================================================================
---- sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-+++ sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-@@ -148,7 +148,11 @@ ResultExpr EvaluateSyscallImpl(int fs_de
-     return Allow();
- #endif
- 
-+#ifdef __NR_clock_gettime64
-+  if (sysno == __NR_clock_gettime || sysno == __NR_clock_gettime64 || sysno == __NR_clock_nanosleep || sysno == __NR_clock_nanosleep_time64) {
-+#else
-   if (sysno == __NR_clock_gettime || sysno == __NR_clock_nanosleep) {
-+#endif
-     return RestrictClockID();
-   }
- 
-Index: chromium-83.0.4103.116/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
-===================================================================
---- sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
-+++ sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
-@@ -38,6 +38,10 @@ bool SyscallSets::IsAllowedGettime(int s
-     case __NR_clock_getres:     // Allowed only on Android with parameters
-                                 // filtered by RestrictClokID().
-     case __NR_clock_gettime:    // Parameters filtered by RestrictClockID().
-+#ifdef __NR_clock_gettime64
-+    case __NR_clock_gettime64:    // Parameters filtered by RestrictClockID().
-+    case __NR_clock_nanosleep_time64:  // Parameters filtered by RestrictClockID().
-+#endif
-     case __NR_clock_nanosleep:  // Parameters filtered by RestrictClockID().
-     case __NR_clock_settime:    // Privileged.
- #if defined(__i386__) || \
-@@ -159,6 +163,9 @@ bool SyscallSets::IsFileSystem(int sysno
-     case __NR_utime:
- #endif
-     case __NR_utimensat:  // New.
-+#ifdef __NR_utimensat_time64
-+    case __NR_utimensat_time64:
-+#endif
-       return true;
-     default:
-       return false;
diff --git a/srcpkgs/chromium/patches/xxx-ppc64le-support.patch b/srcpkgs/chromium/patches/xxx-ppc64le-support.patch
index 24bf586057df..5c407995aeb7 100644
--- a/srcpkgs/chromium/patches/xxx-ppc64le-support.patch
+++ b/srcpkgs/chromium/patches/xxx-ppc64le-support.patch
@@ -435,9 +435,9 @@ index 642df7207..34f47eb73 100644
 -    (defined(ARCH_CPU_MIPS_FAMILY) && defined(ARCH_CPU_32_BITS))
 +    (defined(ARCH_CPU_MIPS_FAMILY) && defined(ARCH_CPU_32_BITS)) || \
 +    defined(__powerpc64__)
+     case __NR_rt_sigtimedwait_time64:
      case __NR_sigaction:
      case __NR_sigprocmask:
-     case __NR_sigreturn:
 @@ -339,7 +350,8 @@ bool SyscallSets::IsAllowedSignalHandling(int sysno) {
  #endif
      case __NR_signalfd4:
@@ -3385,7 +3385,7 @@ index 9ab5e00b8..ad3feffee 100755
    _WriteArray(fd, "arm64_asm_sources", _Glob("libdav1d/src/arm/64/*.S"))
    _WriteArray(fd, "arm_template_sources", _Glob("libdav1d/src/arm/*_tmpl.c"))
  
-+  _WriteArray(fd, "ppc64_template_sources", glob.glob("libdav1d/src/ppc/*_tmpl.c"))
++  _WriteArray(fd, "ppc64_template_sources", _Glob("libdav1d/src/ppc/*_tmpl.c"))
 +
    template_sources = _Glob("libdav1d/src/*_tmpl.c")
    _WriteArray(fd, "template_sources", template_sources)
@@ -3669,21 +3669,21 @@ index fb872ad39..45fc585dd 100644
      ]
    }
  }
-@@ -78,7 +78,7 @@ group("v8_bot_default") {
+@@ -83,7 +83,7 @@
      "message:v8_message",
      "mjsunit:v8_mjsunit",
      "mkgrokdump:mkgrokdump",
 -    "unittests:unittests",
 +    #"unittests:unittests",
-     "wasm-api-tests:wasm_api_tests",
-     "wasm-js:v8_wasm_js",
-     "wasm-spec-tests:v8_wasm_spec_tests",
-@@ -98,7 +98,7 @@ group("v8_default") {
+     "webkit:v8_webkit",
+   ]
+ 
+@@ -108,7 +108,7 @@
      "message:v8_message",
      "mjsunit:v8_mjsunit",
      "mkgrokdump:mkgrokdump",
 -    "unittests:unittests",
 +    #"unittests:unittests",
-     "wasm-api-tests:wasm_api_tests",
-     "wasm-js:v8_wasm_js",
-     "wasm-spec-tests:v8_wasm_spec_tests",
+   ]
+ 
+   if (v8_enable_webassembly) {
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index 1110f36a13fd..cd9487c27d50 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -1,7 +1,7 @@
 # Template file for 'chromium'
 pkgname=chromium
 # See http://www.chromium.org/developers/calendar for the latest version
-version=90.0.4430.212
+version=91.0.4472.77
 revision=1
 archs="i686* x86_64* aarch64* armv7l* ppc64le*"
 short_desc="Google's attempt at creating a safer, faster, and more stable browser"
@@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://www.chromium.org/"
 distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=abe11d0cb1ff21278aad2eec1a1e279d59176b15331804d7df1807446786d59e
+checksum=45d5a43ef798d20313c78fa8a075be0c22055e39c8481eb53eabda81df901b31
 nocross=yes
 
 lib32disabled=yes
@@ -35,7 +35,7 @@ makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
  libjpeg-turbo-devel libevent-devel json-c-devel harfbuzz-devel
  minizip-devel jsoncpp-devel zlib-devel libcap-devel libXdamage-devel
  re2-devel fontconfig-devel freetype-devel opus-devel
- ffmpeg-devel libva-devel python-setuptools xcb-proto
+ ffmpeg-devel libva-devel python-setuptools xcb-proto libcurl-devel
  $(vopt_if pipewire pipewire-devel) $(vopt_if sndio sndio-devel)"
 depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
 

  parent reply	other threads:[~2021-05-27 14:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-26 23:19 [PR PATCH] " Johnnynator
2021-05-26 23:36 ` [PR PATCH] [Updated] " Johnnynator
2021-05-26 23:56 ` Johnnynator
2021-05-27 14:52 ` Johnnynator [this message]
2021-05-27 14:53 ` Johnnynator
2021-05-27 15:22 ` [PR PATCH] [Updated] " Johnnynator
2021-05-30 20:54 ` q66
2021-05-30 21:23 ` ericonr
2021-05-31  2:53 ` [PR PATCH] [Closed]: " q66

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210527145227.1BwP0GZR2-iNX7BleVWmjXiE-Eeu1uuXPMM8cC_BxeQ@z \
    --to=johnnynator@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).