mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
with these changes, chromium now automatically selects which audio backend to use in the following order: pulse (if running) -> sndio -> alsa -> fake an additional command line option has been also implemented so that the user can force which backend to use: --audio-backend={auto,sndio,pulse,alsa} Security: https://vuxml.freebsd.org/freebsd/8247af0d-183b-11ef-9f97-a8a1599412c6.html PR: 246449
20 lines
741 B
C++
20 lines
741 B
C++
--- base/system/sys_info.h.orig 2024-05-21 18:07:39 UTC
|
|
+++ base/system/sys_info.h
|
|
@@ -325,6 +325,8 @@ class BASE_EXPORT SysInfo {
|
|
static void ResetCpuSecurityMitigationsEnabledForTesting();
|
|
#endif
|
|
|
|
+ static uint64_t MaxSharedMemorySize();
|
|
+
|
|
private:
|
|
friend class test::ScopedAmountOfPhysicalMemoryOverride;
|
|
FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory);
|
|
@@ -337,7 +339,7 @@ class BASE_EXPORT SysInfo {
|
|
static HardwareInfo GetHardwareInfoSync();
|
|
|
|
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
|
|
- BUILDFLAG(IS_AIX)
|
|
+ BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
|
|
static uint64_t AmountOfAvailablePhysicalMemory(
|
|
const SystemMemoryInfoKB& meminfo);
|
|
#endif
|