ports/devel/electron4/files/patch-third__party_leveldatabase_env__chromium.cc
Luca Pizzamiglio 2f40d531c4 devel/electron4: Add electron 4.2.2
Finally, after a long wait, an electron port for FreeBSD lands in the
portstree.

A huge thanks to everyone contributed to this huge effort and to the
maintainer that is willing to take the burden of the maintainership!
2019-05-28 09:12:02 +00:00

14 lines
491 B
C++

--- third_party/leveldatabase/env_chromium.cc.orig 2019-03-15 06:38:20 UTC
+++ third_party/leveldatabase/env_chromium.cc
@@ -38,7 +38,11 @@
#include "third_party/leveldatabase/chromium_logger.h"
#include "third_party/leveldatabase/leveldb_chrome.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;