opnsense-ports/security/certificate-transparency/files/patch-cpp-log-etcd_consistent_store_test.cc
Franco Fichtner bf1daec626 */*: sync with upstream
Taken from: FreeBSD
2016-02-28 22:38:47 +01:00

12 lines
427 B
C++

--- cpp/log/etcd_consistent_store_test.cc.orig 2016-02-02 11:35:23 UTC
+++ cpp/log/etcd_consistent_store_test.cc
@@ -1,6 +1,9 @@
#include "log/etcd_consistent_store.h"
#include <gflags/gflags.h>
+// Without this, build will fail due to clash between onigposix.h
+// and regex.h; note it's only compiled with "make check".
+#define GTEST_HAS_POSIX_RE 0
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <atomic>