diff options
Diffstat (limited to 'devel/electron23/files/patch-base_linux__util.cc')
-rw-r--r-- | devel/electron23/files/patch-base_linux__util.cc | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/devel/electron23/files/patch-base_linux__util.cc b/devel/electron23/files/patch-base_linux__util.cc deleted file mode 100644 index c4b5ebcf6394..000000000000 --- a/devel/electron23/files/patch-base_linux__util.cc +++ /dev/null @@ -1,28 +0,0 @@ ---- base/linux_util.cc.orig 2022-08-31 12:19:35 UTC -+++ base/linux_util.cc -@@ -15,6 +15,7 @@ - - #include <iomanip> - #include <memory> -+#include <sstream> - - #include "base/base_export.h" - #include "base/files/dir_reader_posix.h" -@@ -135,6 +136,9 @@ void SetLinuxDistro(const std::string& distro) { - } - - bool GetThreadsForProcess(pid_t pid, std::vector<pid_t>* tids) { -+#if defined(OS_BSD) -+ return false; -+#else - // 25 > strlen("/proc//task") + strlen(std::to_string(INT_MAX)) + 1 = 22 - char buf[25]; - strings::SafeSPrintf(buf, "/proc/%d/task", pid); -@@ -152,6 +156,7 @@ bool GetThreadsForProcess(pid_t pid, std::vector<pid_t - } - - return true; -+#endif - } - - pid_t FindThreadIDWithSyscall(pid_t pid, const std::string& expected_data, |