summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_gfx_font__fallback__linux.cc
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2017-02-09 11:52:49 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2017-02-09 11:52:49 +0000
commitea46fef347b3c90c700024d14a3301430d63c9a5 (patch)
treef612c57542fefdd669fcd75fce2b8f52a76753af /www/chromium/files/patch-ui_gfx_font__fallback__linux.cc
parentRemove traces of armv6hf which no longer exists as an arch. [1] (diff)
www/chromium: fix segfault which prevents to load some websites.
PR: 207298 MFH: 2017Q1 (blanket)
Diffstat (limited to 'www/chromium/files/patch-ui_gfx_font__fallback__linux.cc')
-rw-r--r--www/chromium/files/patch-ui_gfx_font__fallback__linux.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/chromium/files/patch-ui_gfx_font__fallback__linux.cc b/www/chromium/files/patch-ui_gfx_font__fallback__linux.cc
index 49584eee4e1c..709cc8615157 100644
--- a/www/chromium/files/patch-ui_gfx_font__fallback__linux.cc
+++ b/www/chromium/files/patch-ui_gfx_font__fallback__linux.cc
@@ -1,11 +1,11 @@
---- ui/gfx/font_fallback_linux.cc.orig 2017-01-26 00:49:31 UTC
+--- ui/gfx/font_fallback_linux.cc.orig 2017-02-02 02:03:13 UTC
+++ ui/gfx/font_fallback_linux.cc
@@ -15,6 +15,10 @@
#include "base/memory/ptr_util.h"
#include "ui/gfx/font.h"
+#if defined(OS_BSD)
-+# include <unistd.h>
++#include <unistd.h>
+#endif
+
namespace gfx {