1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-08 12:59:17 -04:00
ports/security/certificate-transparency/files/patch-cpp-log-etcd_consistent_store_test.cc

12 lines
427 B
C++

--- cpp/log/etcd_consistent_store_test.cc.orig 2016-10-14 17:11:57 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>