$OpenBSD: patch-src_google_protobuf_repeated_field_unittest_cc,v 1.1 2017/05/17 20:23:45 sthen Exp $

Index: src/google/protobuf/repeated_field_unittest.cc
--- src/google/protobuf/repeated_field_unittest.cc.orig
+++ src/google/protobuf/repeated_field_unittest.cc
@@ -290,6 +290,10 @@ TEST(RepeatedField, MutableDataIsMutable) {
   EXPECT_EQ(2, field.Get(0));
 }
 
+// Older version of protobuf incompatible with new version of gtest.
+// https://groups.google.com/d/msg/protobuf/xgGBG-_WYy8/ruf1MKDr-sIJ
+#undef GTEST_HAS_DEATH_TEST
+
 TEST(RepeatedField, Truncate) {
   RepeatedField<int> field;
 
