forked from Lainports/freebsd-ports
www/chromium: update to 132.0.6834.159
Security: https://vuxml.freebsd.org/freebsd/186101b4-dfa6-11ef-8c1c-a8a1599412c6.html
This commit is contained in:
parent
eba51b93e2
commit
8087388898
6 changed files with 124 additions and 16 deletions
|
|
@ -1,6 +1,5 @@
|
|||
PORTNAME= chromium
|
||||
PORTVERSION= 132.0.6834.110
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 132.0.6834.159
|
||||
PULSEMV= 16
|
||||
PULSEV= ${PULSEMV}.1
|
||||
CATEGORIES= www wayland
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
TIMESTAMP = 1737792307
|
||||
SHA256 (chromium-132.0.6834.110.tar.xz) = e18a1c9575371c9e0511798bac52fd682456f507081bfefd013c58b8d13e52a9
|
||||
SIZE (chromium-132.0.6834.110.tar.xz) = 6853845216
|
||||
TIMESTAMP = 1738309359
|
||||
SHA256 (chromium-132.0.6834.159.tar.xz) = 564cc8a258b16d1c6151721a2a72e43ba80642326b33aa79439bba354e686068
|
||||
SIZE (chromium-132.0.6834.159.tar.xz) = 6862656444
|
||||
SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
|
||||
SIZE (pulseaudio-16.1.tar.gz) = 2763111
|
||||
SHA256 (chromium-132.0.6834.110-testdata.tar.xz) = 7ab7882fd7bdca944554f456baf8c233b9bbd61608830a59c9d123e287e9573b
|
||||
SIZE (chromium-132.0.6834.110-testdata.tar.xz) = 644067924
|
||||
SHA256 (chromium-132.0.6834.159-testdata.tar.xz) = fea80f95a6e2c13e4d0cc1d50f33a62c50eaee625070510ae79a6bc199b2fd11
|
||||
SIZE (chromium-132.0.6834.159-testdata.tar.xz) = 644079868
|
||||
|
|
|
|||
|
|
@ -0,0 +1,55 @@
|
|||
--- content/browser/renderer_host/render_process_host_impl.cc.orig 2025-01-31 07:39:40 UTC
|
||||
+++ content/browser/renderer_host/render_process_host_impl.cc
|
||||
@@ -220,7 +220,7 @@
|
||||
#include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h"
|
||||
#endif
|
||||
|
||||
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
||||
#include <sys/resource.h>
|
||||
|
||||
#include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck
|
||||
@@ -1082,7 +1082,7 @@ static constexpr size_t kUnknownPlatformProcessLimit =
|
||||
// to indicate failure and std::numeric_limits<size_t>::max() to indicate
|
||||
// unlimited.
|
||||
size_t GetPlatformProcessLimit() {
|
||||
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
||||
struct rlimit limit;
|
||||
if (getrlimit(RLIMIT_NPROC, &limit) != 0)
|
||||
return kUnknownPlatformProcessLimit;
|
||||
@@ -1259,7 +1259,7 @@ RenderProcessHostImpl::IOThreadHostImpl::~IOThreadHost
|
||||
|
||||
void RenderProcessHostImpl::IOThreadHostImpl::SetPid(
|
||||
base::ProcessId child_pid) {
|
||||
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
||||
child_thread_type_switcher_.SetPid(child_pid);
|
||||
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
}
|
||||
@@ -3261,7 +3261,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine(
|
||||
base::TimeTicks::UnixEpoch().since_origin().InMicroseconds()));
|
||||
}
|
||||
|
||||
-#if BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
// Append `kDisableVideoCaptureUseGpuMemoryBuffer` flag if there is no support
|
||||
// for NV12 GPU memory buffer.
|
||||
if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled() &&
|
||||
@@ -3318,6 +3318,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin
|
||||
switches::kDisableSpeechAPI,
|
||||
switches::kDisableThreadedCompositing,
|
||||
switches::kDisableTouchDragDrop,
|
||||
+ switches::kDisableUnveil,
|
||||
switches::kDisableV8IdleTasks,
|
||||
switches::kDisableVideoCaptureUseGpuMemoryBuffer,
|
||||
switches::kDisableWebGLImageChromium,
|
||||
@@ -5107,7 +5108,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr
|
||||
// - Win: https://crbug.com/707022 .
|
||||
uint64_t total_size = 0;
|
||||
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
|
||||
- BUILDFLAG(IS_FUCHSIA)
|
||||
+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
||||
total_size = dump->platform_private_footprint->rss_anon_bytes +
|
||||
dump->platform_private_footprint->vm_swap_bytes;
|
||||
#elif BUILDFLAG(IS_APPLE)
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
PORTNAME= ungoogled-chromium
|
||||
PORTVERSION= 132.0.6834.110
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 132.0.6834.159
|
||||
PULSEMV= 16
|
||||
PULSEV= ${PULSEMV}.1
|
||||
UGVERSION= ${DISTVERSION}-1
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
TIMESTAMP = 1737797832
|
||||
SHA256 (chromium-132.0.6834.110.tar.xz) = e18a1c9575371c9e0511798bac52fd682456f507081bfefd013c58b8d13e52a9
|
||||
SIZE (chromium-132.0.6834.110.tar.xz) = 6853845216
|
||||
TIMESTAMP = 1738309753
|
||||
SHA256 (chromium-132.0.6834.159.tar.xz) = 564cc8a258b16d1c6151721a2a72e43ba80642326b33aa79439bba354e686068
|
||||
SIZE (chromium-132.0.6834.159.tar.xz) = 6862656444
|
||||
SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
|
||||
SIZE (pulseaudio-16.1.tar.gz) = 2763111
|
||||
SHA256 (chromium-132.0.6834.110-testdata.tar.xz) = 7ab7882fd7bdca944554f456baf8c233b9bbd61608830a59c9d123e287e9573b
|
||||
SIZE (chromium-132.0.6834.110-testdata.tar.xz) = 644067924
|
||||
SHA256 (ungoogled-software-ungoogled-chromium-132.0.6834.110-132.0.6834.110-1_GH0.tar.gz) = bb1b2cc70cf1f737511b187afa4c626f26270a9eafc46434f4c9fe987e9d5314
|
||||
SIZE (ungoogled-software-ungoogled-chromium-132.0.6834.110-132.0.6834.110-1_GH0.tar.gz) = 681098
|
||||
SHA256 (chromium-132.0.6834.159-testdata.tar.xz) = fea80f95a6e2c13e4d0cc1d50f33a62c50eaee625070510ae79a6bc199b2fd11
|
||||
SIZE (chromium-132.0.6834.159-testdata.tar.xz) = 644079868
|
||||
SHA256 (ungoogled-software-ungoogled-chromium-132.0.6834.159-132.0.6834.159-1_GH0.tar.gz) = 90ab799cf15f5f458d45f6007244530234c06e00e97b94136d9bd1659c9dd890
|
||||
SIZE (ungoogled-software-ungoogled-chromium-132.0.6834.159-132.0.6834.159-1_GH0.tar.gz) = 681114
|
||||
|
|
|
|||
|
|
@ -0,0 +1,55 @@
|
|||
--- content/browser/renderer_host/render_process_host_impl.cc.orig 2025-01-31 07:50:54 UTC
|
||||
+++ content/browser/renderer_host/render_process_host_impl.cc
|
||||
@@ -221,7 +221,7 @@
|
||||
#include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h"
|
||||
#endif
|
||||
|
||||
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
||||
#include <sys/resource.h>
|
||||
|
||||
#include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck
|
||||
@@ -1083,7 +1083,7 @@ static constexpr size_t kUnknownPlatformProcessLimit =
|
||||
// to indicate failure and std::numeric_limits<size_t>::max() to indicate
|
||||
// unlimited.
|
||||
size_t GetPlatformProcessLimit() {
|
||||
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
||||
struct rlimit limit;
|
||||
if (getrlimit(RLIMIT_NPROC, &limit) != 0)
|
||||
return kUnknownPlatformProcessLimit;
|
||||
@@ -1260,7 +1260,7 @@ RenderProcessHostImpl::IOThreadHostImpl::~IOThreadHost
|
||||
|
||||
void RenderProcessHostImpl::IOThreadHostImpl::SetPid(
|
||||
base::ProcessId child_pid) {
|
||||
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
||||
child_thread_type_switcher_.SetPid(child_pid);
|
||||
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
}
|
||||
@@ -3262,7 +3262,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine(
|
||||
base::TimeTicks::UnixEpoch().since_origin().InMicroseconds()));
|
||||
}
|
||||
|
||||
-#if BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
// Append `kDisableVideoCaptureUseGpuMemoryBuffer` flag if there is no support
|
||||
// for NV12 GPU memory buffer.
|
||||
if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled() &&
|
||||
@@ -3319,6 +3319,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin
|
||||
switches::kDisableSpeechAPI,
|
||||
switches::kDisableThreadedCompositing,
|
||||
switches::kDisableTouchDragDrop,
|
||||
+ switches::kDisableUnveil,
|
||||
switches::kDisableV8IdleTasks,
|
||||
switches::kDisableVideoCaptureUseGpuMemoryBuffer,
|
||||
switches::kDisableWebGLImageChromium,
|
||||
@@ -5111,7 +5112,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr
|
||||
// - Win: https://crbug.com/707022 .
|
||||
uint64_t total_size = 0;
|
||||
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
|
||||
- BUILDFLAG(IS_FUCHSIA)
|
||||
+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
||||
total_size = dump->platform_private_footprint->rss_anon_bytes +
|
||||
dump->platform_private_footprint->vm_swap_bytes;
|
||||
#elif BUILDFLAG(IS_APPLE)
|
||||
Loading…
Add table
Reference in a new issue