summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-ui_base_clipboard_clipboard__constants.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_base_clipboard_clipboard__constants.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_base_clipboard_clipboard__constants.cc')
-rw-r--r--devel/electron13/files/patch-ui_base_clipboard_clipboard__constants.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-ui_base_clipboard_clipboard__constants.cc b/devel/electron13/files/patch-ui_base_clipboard_clipboard__constants.cc
new file mode 100644
index 000000000000..23a26cb7a3a2
--- /dev/null
+++ b/devel/electron13/files/patch-ui_base_clipboard_clipboard__constants.cc
@@ -0,0 +1,16 @@
+--- ui/base/clipboard/clipboard_constants.cc.orig 2021-07-15 19:14:08 UTC
++++ ui/base/clipboard/clipboard_constants.cc
+@@ -18,11 +18,11 @@ const char kMimeTypeSvg[] = "image/svg+xml";
+ const char kMimeTypeRTF[] = "text/rtf";
+ const char kMimeTypePNG[] = "image/png";
+
+-#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 kMimeTypeLinuxUtf8String[] = "UTF8_STRING";
+ const char kMimeTypeLinuxString[] = "STRING";
+ const char kMimeTypeLinuxText[] = "TEXT";
+-#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_FUCHSIA)
++#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_FUCHSIA) || defined(OS_BSD)
+
+ #if !defined(OS_APPLE)
+ const char kMimeTypeWebCustomData[] = "chromium/x-web-custom-data";