freebsd-ports/www/chromium/files/patch-base_process_internal__linux.cc
Carlos J. Puga Medina 47e1e0949d www/chromium: update to 60.0.3112.101
- Update LICENSE
- Drop USE_GNOME=gtk20 dependency because chromium uses gtk3
- Use freetype2 bundled to avoid more issues related to the freetype library
- Fix typo in the comment of pre-configure section
- Update comment in SNDIO section

Changelog: https://chromium.googlesource.com/chromium/src/+log/59.0.3071.115..60.0.3112.101?pretty=fuller&n=10000

MFH:		2017Q3
Security:	https://vuxml.freebsd.org/freebsd/7d138476-7710-11e7-88a1-e8e0b747a45a.html
2017-08-23 20:37:16 +00:00

16 lines
463 B
C++

--- base/process/internal_linux.cc.orig 2017-08-10 00:00:17.842158000 +0200
+++ base/process/internal_linux.cc 2017-08-10 00:02:37.838081000 +0200
@@ -60,10 +60,13 @@
// Synchronously reading files in /proc is safe.
ThreadRestrictions::ScopedAllowIO allow_io;
+#if !defined(OS_BSD)
if (!ReadFileToString(file, buffer)) {
DLOG(WARNING) << "Failed to read " << file.MaybeAsASCII();
return false;
}
+#endif
+
return !buffer->empty();
}