From 58083a596736902f0b7c0eaf4c9affda7d7edbb5 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Sat, 2 Jan 2021 12:28:34 +0000 Subject: Remove a few expired ports depending on Python 2.7: 2020-12-31 www/iridium: Uses Python 2.7 which is EOLed upstream 2020-12-31 editors/atom: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron4: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron5: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron6: Uses Python 2.7 which is EOLed upstream --- www/iridium/files/patch-content_gpu_gpu__main.cc | 56 ------------------------ 1 file changed, 56 deletions(-) delete mode 100644 www/iridium/files/patch-content_gpu_gpu__main.cc (limited to 'www/iridium/files/patch-content_gpu_gpu__main.cc') diff --git a/www/iridium/files/patch-content_gpu_gpu__main.cc b/www/iridium/files/patch-content_gpu_gpu__main.cc deleted file mode 100644 index ba08acddf473..000000000000 --- a/www/iridium/files/patch-content_gpu_gpu__main.cc +++ /dev/null @@ -1,56 +0,0 @@ ---- content/gpu/gpu_main.cc.orig 2020-03-16 18:40:32 UTC -+++ content/gpu/gpu_main.cc -@@ -84,7 +84,7 @@ - #include "ui/gfx/x/x11_switches.h" // nogncheck - #endif - --#if defined(OS_LINUX) -+#if defined(OS_LINUX) || defined(OS_BSD) - #include "content/gpu/gpu_sandbox_hook_linux.h" - #include "content/public/common/sandbox_init.h" - #include "services/service_manager/sandbox/linux/sandbox_linux.h" -@@ -109,7 +109,7 @@ namespace content { - - namespace { - --#if defined(OS_LINUX) -+#if defined(OS_LINUX) && !defined(OS_BSD) - bool StartSandboxLinux(gpu::GpuWatchdogThread*, - const gpu::GPUInfo*, - const gpu::GpuPreferences&); -@@ -177,7 +177,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel - bool EnsureSandboxInitialized(gpu::GpuWatchdogThread* watchdog_thread, - const gpu::GPUInfo* gpu_info, - const gpu::GpuPreferences& gpu_prefs) override { --#if defined(OS_LINUX) -+#if defined(OS_LINUX) && !defined(OS_BSD) - return StartSandboxLinux(watchdog_thread, gpu_info, gpu_prefs); - #elif defined(OS_WIN) - return StartSandboxWindows(sandbox_info_); -@@ -301,7 +301,7 @@ int GpuMain(const MainFunctionParams& parameters) { - main_thread_task_executor = - std::make_unique( - gpu_preferences.message_pump_type); --#elif defined(OS_LINUX) -+#elif defined(OS_LINUX) || defined(OS_BSD) - #error "Unsupported Linux platform." - #elif defined(OS_MACOSX) - // Cross-process CoreAnimation requires a CFRunLoop to function at all, and -@@ -442,7 +442,7 @@ int GpuMain(const MainFunctionParams& parameters) { - - namespace { - --#if defined(OS_LINUX) -+#if defined(OS_LINUX) && !defined(OS_BSD) - bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdog_thread, - const gpu::GPUInfo* gpu_info, - const gpu::GpuPreferences& gpu_prefs) { -@@ -479,7 +479,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo - - return res; - } --#endif // defined(OS_LINUX) -+#endif // defined(OS_LINUX) && !defined(OS_BSD) - - #if defined(OS_WIN) - bool StartSandboxWindows(const sandbox::SandboxInterfaceInfo* sandbox_info) { -- cgit v1.2.3