aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-components_url__matcher_regex__set__matcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-components_url__matcher_regex__set__matcher.cc')
-rw-r--r--devel/electron13/files/patch-components_url__matcher_regex__set__matcher.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-components_url__matcher_regex__set__matcher.cc b/devel/electron13/files/patch-components_url__matcher_regex__set__matcher.cc
new file mode 100644
index 000000000000..cf731a8639f1
--- /dev/null
+++ b/devel/electron13/files/patch-components_url__matcher_regex__set__matcher.cc
@@ -0,0 +1,16 @@
+--- components/url_matcher/regex_set_matcher.cc.orig 2021-01-07 00:36:32 UTC
++++ components/url_matcher/regex_set_matcher.cc
+@@ -12,8 +12,13 @@
+ #include "base/logging.h"
+ #include "base/strings/string_util.h"
+ #include "components/url_matcher/substring_set_matcher.h"
++#if defined(OS_BSD)
++#include <re2/filtered_re2.h>
++#include <re2/re2.h>
++#else
+ #include "third_party/re2/src/re2/filtered_re2.h"
+ #include "third_party/re2/src/re2/re2.h"
++#endif
+
+ namespace url_matcher {
+