summaryrefslogtreecommitdiff
path: root/devel/electron6/files/patch-third__party_leveldatabase_env__chromium.cc
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /devel/electron6/files/patch-third__party_leveldatabase_env__chromium.cc
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Diffstat (limited to 'devel/electron6/files/patch-third__party_leveldatabase_env__chromium.cc')
-rw-r--r--devel/electron6/files/patch-third__party_leveldatabase_env__chromium.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/electron6/files/patch-third__party_leveldatabase_env__chromium.cc b/devel/electron6/files/patch-third__party_leveldatabase_env__chromium.cc
new file mode 100644
index 000000000000..5c362f8a6e13
--- /dev/null
+++ b/devel/electron6/files/patch-third__party_leveldatabase_env__chromium.cc
@@ -0,0 +1,14 @@
+--- third_party/leveldatabase/env_chromium.cc.orig 2019-09-10 11:14:32 UTC
++++ third_party/leveldatabase/env_chromium.cc
+@@ -40,7 +40,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
+
+ #if defined(OS_WIN)
+ #undef DeleteFile