summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-third__party_leveldatabase_env__chromium.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-third__party_leveldatabase_env__chromium.cc')
-rw-r--r--devel/electron13/files/patch-third__party_leveldatabase_env__chromium.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-third__party_leveldatabase_env__chromium.cc b/devel/electron13/files/patch-third__party_leveldatabase_env__chromium.cc
new file mode 100644
index 000000000000..35c344a740f9
--- /dev/null
+++ b/devel/electron13/files/patch-third__party_leveldatabase_env__chromium.cc
@@ -0,0 +1,14 @@
+--- third_party/leveldatabase/env_chromium.cc.orig 2021-01-07 00:37:22 UTC
++++ third_party/leveldatabase/env_chromium.cc
+@@ -39,7 +39,11 @@
+ #include "third_party/leveldatabase/leveldb_chrome.h"
+ #include "third_party/leveldatabase/leveldb_features.h"
+ #include "third_party/leveldatabase/src/include/leveldb/options.h"
++#if defined(OS_BSD)
++#include <re2/re2.h>
++#else
+ #include "third_party/re2/src/re2/re2.h"
++#endif
+
+ using base::FilePath;
+ using base::trace_event::MemoryAllocatorDump;