Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc
--- src/3rdparty/chromium/base/debug/debugger_posix.cc.orig 2019-05-23 12:39:34 UTC | --- src/3rdparty/chromium/base/debug/debugger_posix.cc.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/debug/debugger_posix.cc | +++ src/3rdparty/chromium/base/debug/debugger_posix.cc | ||||
@@ -86,7 +86,7 @@ bool BeingDebugged() { | @@ -98,7 +98,7 @@ bool BeingDebugged() { | ||||
KERN_PROC, | KERN_PROC, | ||||
KERN_PROC_PID, | KERN_PROC_PID, | ||||
getpid() | getpid() | ||||
-#if defined(OS_OPENBSD) | -#if defined(OS_OPENBSD) | ||||
+#if defined(OS_BSD) | +#if defined(OS_BSD) | ||||
, sizeof(struct kinfo_proc), | , sizeof(struct kinfo_proc), | ||||
0 | 0 | ||||
#endif | #endif | ||||
@@ -94,33 +94,35 @@ bool BeingDebugged() { | @@ -106,33 +106,35 @@ bool BeingDebugged() { | ||||
// Caution: struct kinfo_proc is marked __APPLE_API_UNSTABLE. The source and | // Caution: struct kinfo_proc is marked __APPLE_API_UNSTABLE. The source and | ||||
// binary interfaces may change. | // binary interfaces may change. | ||||
- struct kinfo_proc info; | - struct kinfo_proc info; | ||||
- size_t info_size = sizeof(info); | - size_t info_size = sizeof(info); | ||||
+ struct kinfo_proc *info; | + struct kinfo_proc *info; | ||||
+ size_t info_size; | + size_t info_size; | ||||
Show All 36 Lines |