diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2020-07-23 16:31:18 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2020-07-23 16:31:18 +0000 |
| commit | 651302b592fe54c5197641402df87ff216c27903 (patch) | |
| tree | 784a10fc6050d3be8786fd6f4f954d7802bd9204 /www/iridium/files/patch-base_syslog__logging.cc | |
| parent | Add compiler:c++14-lang to USES to atttempt to fix on GCC-based systems: (diff) | |
www/iridium: update to 2020.04.81
PR: 245959
Submitted by: Matthias Wolf
MFH: 2020Q3
Security: any Chromium vulnerability between 73 and 81
Notes
Notes:
svn path=/head/; revision=542938
Diffstat (limited to 'www/iridium/files/patch-base_syslog__logging.cc')
| -rw-r--r-- | www/iridium/files/patch-base_syslog__logging.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/iridium/files/patch-base_syslog__logging.cc b/www/iridium/files/patch-base_syslog__logging.cc new file mode 100644 index 000000000000..d719219ca50b --- /dev/null +++ b/www/iridium/files/patch-base_syslog__logging.cc @@ -0,0 +1,20 @@ +--- base/syslog_logging.cc.orig 2019-10-21 19:06:18 UTC ++++ base/syslog_logging.cc +@@ -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> +@@ -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"; + openlog(kEventSource, LOG_NOWAIT | LOG_PID, LOG_USER); + // We can't use the defined names for the logging severity from syslog.h |
