freebsd-ports/security/certificate-transparency/files/patch-cpp-fetcher-remote_peer_test.cc

11 lines
407 B
C++

--- cpp/fetcher/remote_peer_test.cc.orig 2016-10-14 17:11:57 UTC
+++ cpp/fetcher/remote_peer_test.cc
@@ -1,5 +1,8 @@
#include <gflags/gflags.h>
#include <glog/logging.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 <openssl/err.h>