summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-ui_gfx_font__names__testing.cc
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2021-11-24 17:28:24 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2021-11-24 17:30:52 +0900
commit4da4f5edbf9de5c4269cf66d70044f4cb3abdc41 (patch)
tree21363ca7518a943c48bde3a669c78444685f832e /devel/electron13/files/patch-ui_gfx_font__names__testing.cc
parentports-mgmt/octopkg: update description and WWW (diff)
devel/electron13: update to 13.6.2 (and rename from devel/electron12)
Changelog: https://www.electronjs.org/blog/electron-13-0
Diffstat (limited to 'devel/electron13/files/patch-ui_gfx_font__names__testing.cc')
-rw-r--r--devel/electron13/files/patch-ui_gfx_font__names__testing.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-ui_gfx_font__names__testing.cc b/devel/electron13/files/patch-ui_gfx_font__names__testing.cc
new file mode 100644
index 000000000000..b90405737c09
--- /dev/null
+++ b/devel/electron13/files/patch-ui_gfx_font__names__testing.cc
@@ -0,0 +1,29 @@
+--- ui/gfx/font_names_testing.cc.orig 2021-01-07 00:37:28 UTC
++++ ui/gfx/font_names_testing.cc
+@@ -22,7 +22,7 @@ Note that we have to support the full range from Jelly
+ dessert.
+ */
+
+-#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_FUCHSIA)
++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_FUCHSIA) || defined(OS_BSD)
+ const char kTestFontName[] = "Arimo";
+ #elif defined(OS_ANDROID)
+ const char kTestFontName[] = "sans-serif";
+@@ -30,7 +30,7 @@ const char kTestFontName[] = "sans-serif";
+ const char kTestFontName[] = "Arial";
+ #endif
+
+-#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_FUCHSIA)
++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_FUCHSIA) || defined(OS_BSD)
+ const char kSymbolFontName[] = "DejaVu Sans";
+ #elif defined(OS_ANDROID)
+ const char kSymbolFontName[] = "monospace";
+@@ -40,7 +40,7 @@ const char kSymbolFontName[] = "Segoe UI Symbol";
+ const char kSymbolFontName[] = "Symbol";
+ #endif
+
+-#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_FUCHSIA)
++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_FUCHSIA) || defined(OS_BSD)
+ const char kCJKFontName[] = "Noto Sans CJK JP";
+ #elif defined(OS_ANDROID)
+ const char kCJKFontName[] = "serif";