SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
www/iridium/patches/patch-ui_gfx_font_util_cc
Normal file
21
www/iridium/patches/patch-ui_gfx_font_util_cc
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: ui/gfx/font_util.cc
|
||||
--- ui/gfx/font_util.cc.orig
|
||||
+++ ui/gfx/font_util.cc
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "build/build_config.h"
|
||||
|
||||
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
||||
#include <fontconfig/fontconfig.h>
|
||||
#include "ui/gfx/linux/fontconfig_util.h"
|
||||
#endif
|
||||
@@ -24,7 +24,7 @@ void InitializeFonts() {
|
||||
// background (resources have not yet been granted to cast) since it prevents
|
||||
// the long delay the user would have seen on first rendering.
|
||||
|
||||
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
||||
// Ensures the config is created on this thread.
|
||||
FcConfig* config = GetGlobalFontConfig();
|
||||
DCHECK(config);
|
Loading…
Add table
Add a link
Reference in a new issue