mirror of
https://git.freebsd.org/ports.git
synced 2025-07-10 13:59:22 -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
771 B
C++
20 lines
771 B
C++
--- ui/gfx/font_util.cc.orig 2022-02-28 16:54:41 UTC
|
|
+++ 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);
|