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 --- .../patch-components_crash_content_app_crashpad.cc | 43 ---------------------- 1 file changed, 43 deletions(-) delete mode 100644 devel/electron4/files/patch-components_crash_content_app_crashpad.cc (limited to 'devel/electron4/files/patch-components_crash_content_app_crashpad.cc') diff --git a/devel/electron4/files/patch-components_crash_content_app_crashpad.cc b/devel/electron4/files/patch-components_crash_content_app_crashpad.cc deleted file mode 100644 index 7bfdc826461b..000000000000 --- a/devel/electron4/files/patch-components_crash_content_app_crashpad.cc +++ /dev/null @@ -1,43 +0,0 @@ ---- components/crash/content/app/crashpad.cc.orig 2019-03-15 06:37:13 UTC -+++ components/crash/content/app/crashpad.cc -@@ -101,6 +101,12 @@ void InitializeCrashpadImpl(bool initial_client, - const std::string& user_data_dir, - const base::FilePath& exe_path, - bool embedded_handler) { -+ -+#if defined(OS_BSD) -+ NOTIMPLEMENTED(); -+ return; -+#endif -+ - static bool initialized = false; - DCHECK(!initialized); - initialized = true; -@@ -119,7 +125,7 @@ void InitializeCrashpadImpl(bool initial_client, - // as processed by the backend. - DCHECK(browser_process || process_type == "Chrome Installer" || - process_type == "notification-helper"); --#elif defined(OS_LINUX) || defined(OS_ANDROID) -+#elif defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD) - DCHECK(browser_process); - #else - #error Port. -@@ -184,7 +190,7 @@ void InitializeCrashpadImpl(bool initial_client, - // other "main, first process" to initialize things. There is no "relauncher" - // on Windows, so this is synonymous with initial_client. - const bool should_initialize_database_and_set_upload_policy = initial_client; --#elif defined(OS_LINUX) || defined(OS_ANDROID) -+#elif defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD) - const bool should_initialize_database_and_set_upload_policy = browser_process; - #endif - if (should_initialize_database_and_set_upload_policy) { -@@ -253,7 +259,9 @@ bool GetUploadsEnabled() { - } - - void DumpWithoutCrashing() { -+#if !defined(OS_BSD) - CRASHPAD_SIMULATE_CRASH(); -+#endif - } - - void GetReports(std::vector* reports) { -- cgit v1.2.3