From 4da4f5edbf9de5c4269cf66d70044f4cb3abdc41 Mon Sep 17 00:00:00 2001 From: Hiroki Tagato Date: Wed, 24 Nov 2021 17:28:24 +0900 Subject: devel/electron13: update to 13.6.2 (and rename from devel/electron12) Changelog: https://www.electronjs.org/blog/electron-13-0 --- .../patch-ui_base_clipboard_clipboard__constants.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 devel/electron13/files/patch-ui_base_clipboard_clipboard__constants.cc (limited to 'devel/electron13/files/patch-ui_base_clipboard_clipboard__constants.cc') 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"; -- cgit v1.2.3