aboutsummaryrefslogtreecommitdiff
path: root/www/qt5-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/qt5-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc')
-rw-r--r--www/qt5-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/www/qt5-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc b/www/qt5-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc
index 3d6b2fa82ae4..f6437000aff0 100644
--- a/www/qt5-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc
+++ b/www/qt5-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc
@@ -1,20 +1,20 @@
---- src/3rdparty/chromium/base/syslog_logging.cc.orig 2019-11-27 21:12:25 UTC
+--- src/3rdparty/chromium/base/syslog_logging.cc.orig 2021-12-15 16:12:54 UTC
+++ src/3rdparty/chromium/base/syslog_logging.cc
-@@ -11,7 +11,7 @@
- #include "base/callback_helpers.h"
- #include "base/debug/stack_trace.h"
+@@ -13,7 +13,7 @@
+ #include "base/strings/string_util.h"
+ #include "base/win/scoped_handle.h"
#include "base/win/win_util.h"
--#elif defined(OS_LINUX)
-+#elif defined(OS_LINUX) || defined(OS_BSD)
+-#elif defined(OS_LINUX) || defined(OS_CHROMEOS)
++#elif defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
// <syslog.h> defines LOG_INFO, LOG_WARNING macros that could conflict with
// base::LOG_INFO, base::LOG_WARNING.
#include <syslog.h>
-@@ -110,7 +110,7 @@ EventLogMessage::~EventLogMessage() {
+@@ -134,7 +134,7 @@ EventLogMessage::~EventLogMessage() {
if (user_sid != nullptr)
::LocalFree(user_sid);
--#elif defined(OS_LINUX)
-+#elif defined(OS_LINUX) || defined(OS_BSD)
+-#elif defined(OS_LINUX) || defined(OS_CHROMEOS)
++#elif defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
const char kEventSource[] = "chrome";
openlog(kEventSource, LOG_NOWAIT | LOG_PID, LOG_USER);
// We can't use the defined names for the logging severity from syslog.h