summaryrefslogtreecommitdiff
path: root/devel/electron5/files/patch-base_debug_stack__trace__posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron5/files/patch-base_debug_stack__trace__posix.cc')
-rw-r--r--devel/electron5/files/patch-base_debug_stack__trace__posix.cc31
1 files changed, 0 insertions, 31 deletions
diff --git a/devel/electron5/files/patch-base_debug_stack__trace__posix.cc b/devel/electron5/files/patch-base_debug_stack__trace__posix.cc
deleted file mode 100644
index dc903fb4e662..000000000000
--- a/devel/electron5/files/patch-base_debug_stack__trace__posix.cc
+++ /dev/null
@@ -1,31 +0,0 @@
---- base/debug/stack_trace_posix.cc.orig 2019-04-08 08:32:37 UTC
-+++ base/debug/stack_trace_posix.cc
-@@ -35,7 +35,7 @@
- #include <AvailabilityMacros.h>
- #endif
-
--#if defined(OS_LINUX)
-+#if defined(OS_LINUX) || defined(OS_BSD)
- #include "base/debug/proc_maps_linux.h"
- #endif
-
-@@ -653,6 +653,11 @@ class SandboxSymbolizeHelper {
- // for the modules that are loaded in the current process.
- // Returns true on success.
- bool CacheMemoryRegions() {
-+#if defined(OS_BSD)
-+ // TODO (rene) avoid link error, implement something?
-+ NOTIMPLEMENTED();
-+ return false;
-+#else
- // Reads /proc/self/maps.
- std::string contents;
- if (!ReadProcMaps(&contents)) {
-@@ -670,6 +675,7 @@ class SandboxSymbolizeHelper {
-
- is_initialized_ = true;
- return true;
-+#endif
- }
-
- // Opens all object files and caches their file descriptors.