mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 19:09:16 -04:00
On the port side, this update brings: - libvulkan enabled by default - more unit tests enabled - no longer dependent on Python 2.7 Security: https://vuxml.freebsd.org/freebsd/e0914087-9a09-11ec-9e61-3065ec8fd3ec.html
20 lines
891 B
C++
20 lines
891 B
C++
--- base/syslog_logging.cc.orig 2022-02-28 16:54:41 UTC
|
|
+++ base/syslog_logging.cc
|
|
@@ -15,7 +15,7 @@
|
|
#include "base/strings/string_util.h"
|
|
#include "base/win/scoped_handle.h"
|
|
#include "base/win/win_util.h"
|
|
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
// <syslog.h> defines LOG_INFO, LOG_WARNING macros that could conflict with
|
|
// base::LOG_INFO, base::LOG_WARNING.
|
|
#include <syslog.h>
|
|
@@ -147,7 +147,7 @@ EventLogMessage::~EventLogMessage() {
|
|
|
|
if (user_sid != nullptr)
|
|
::LocalFree(user_sid);
|
|
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_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
|