summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_syslog__logging.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-11-05 19:35:13 +0000
committerRene Ladan <rene@FreeBSD.org>2019-11-05 19:35:13 +0000
commit03d66a659ae5011ca0d5279cafb1596a982a06d8 (patch)
treeb8c8cd52f300381a02e32bdea5d4eae6f30262fc /www/chromium/files/patch-base_syslog__logging.cc
parentUpdate to 1.37.0 (diff)
www/chromium: update to 78.0.3904.87
Submitted by: Matthias Wolf via github MFH: 2019Q4
Notes
Notes: svn path=/head/; revision=516832
Diffstat (limited to 'www/chromium/files/patch-base_syslog__logging.cc')
-rw-r--r--www/chromium/files/patch-base_syslog__logging.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/chromium/files/patch-base_syslog__logging.cc b/www/chromium/files/patch-base_syslog__logging.cc
index fa3ce0e07bca..d719219ca50b 100644
--- a/www/chromium/files/patch-base_syslog__logging.cc
+++ b/www/chromium/files/patch-base_syslog__logging.cc
@@ -1,18 +1,18 @@
---- base/syslog_logging.cc.orig 2019-05-01 17:21:47 UTC
+--- base/syslog_logging.cc.orig 2019-10-21 19:06:18 UTC
+++ base/syslog_logging.cc
-@@ -9,7 +9,7 @@
- #include "base/bind.h"
- #include "base/callback_helpers.h"
+@@ -14,7 +14,7 @@
#include "base/debug/stack_trace.h"
+ #include "base/strings/string_util.h"
+ #include "base/win/win_util.h"
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
// <syslog.h> defines LOG_INFO, LOG_WARNING macros that could conflict with
// base::LOG_INFO, base::LOG_WARNING.
#include <syslog.h>
-@@ -94,7 +94,7 @@ EventLogMessage::~EventLogMessage() {
- 1, 0, strings, nullptr)) {
- stream() << " !!NOT ADDED TO EVENTLOG!!";
- }
+@@ -113,7 +113,7 @@ EventLogMessage::~EventLogMessage() {
+
+ if (user_sid != nullptr)
+ ::LocalFree(user_sid);
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
const char kEventSource[] = "chrome";