gtest: update to 1.18.0

Klemens Nanni <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
https://github.com/google/googletest/releases

Newer abseil requires newer gtest.

gtest, draco and snappy build and test fine on amd64.

Feedback? More tests? OK?

diff --git a/devel/gtest/Makefile b/devel/gtest/Makefile
index bc25d4309e3..f7947a570b5 100644
--- a/devel/gtest/Makefile
+++ b/devel/gtest/Makefile
@@ -4,13 +4,13 @@
 
 COMMENT =	C++ unit test framework
 
-V =		1.15.2
+V =		1.18.0
 DIST_TUPLE =	github	google	googletest	v${V}	.
 PKGNAME =	gtest-${V}
 
-SHARED_LIBS +=	gmock		2.0
+SHARED_LIBS +=	gmock		3.0
 SHARED_LIBS +=	gmock_main	1.0
-SHARED_LIBS +=	gtest		4.0
+SHARED_LIBS +=	gtest		5.0
 SHARED_LIBS +=	gtest_main	2.0
 
 CATEGORIES =	devel
diff --git a/devel/gtest/distinfo b/devel/gtest/distinfo
index 6509c288c97..1cdc4e3cabe 100644
--- a/devel/gtest/distinfo
+++ b/devel/gtest/distinfo
@@ -1,2 +1,2 @@
-SHA256 (google-googletest-v1.15.2.tar.gz) = e0K01u1IgQxTYsJloX+uvpDcI3PIheUhZDnTeSfwKSY=
-SIZE (google-googletest-v1.15.2.tar.gz) = 872667
+SHA256 (google-googletest-v1.18.0.tar.gz) = bjGRwUVUaLP8NaQX+1ZcHFBxruG35/heMM9IqY032LU=
+SIZE (google-googletest-v1.18.0.tar.gz) = 894741
diff --git a/archivers/draco/Makefile b/archivers/draco/Makefile
index 5c126218753..c28adb1720c 100644
--- a/archivers/draco/Makefile
+++ b/archivers/draco/Makefile
@@ -4,7 +4,7 @@ GH_ACCOUNT =	google
 GH_PROJECT =	draco
 GH_TAGNAME =	1.5.7
 SHARED_LIBS =	draco 0.0
-REVISION =	0
+REVISION =	1
 
 CATEGORIES =	archivers
 HOMEPAGE =	https://google.github.io/draco/
@@ -20,7 +20,7 @@ MODULES =	devel/cmake
 BUILD_DEPENDS =	devel/gtest:patch
 CONFIGURE_ARGS =-DBUILD_SHARED_LIBS=ON \
 		-DDRACO_TESTS=ON \
-		-DDRACO_GOOGLETEST_PATH=${WRKDIR}/devel/gtest/googletest-1.15.2
+		-DDRACO_GOOGLETEST_PATH=${WRKDIR}/devel/gtest/googletest-1.18.0
 
 # everything but tests
 ALL_TARGET =	draco_encoder draco_decoder
diff --git a/archivers/snappy/Makefile b/archivers/snappy/Makefile
index 78a2fd17b86..77177e0bd50 100644
--- a/archivers/snappy/Makefile
+++ b/archivers/snappy/Makefile
@@ -3,7 +3,7 @@ COMMENT =	fast compression/decompression library
 GH_TAGNAME =	1.1.10
 GH_PROJECT =	snappy
 GH_ACCOUNT =	google
-REVISION =	2
+REVISION =	3
 
 SHARED_LIBS =	snappy	3.0
 
@@ -41,7 +41,7 @@ MODCMAKE_LDFLAGS =	-L${LOCALBASE}/lib
 
 # expects submodule/cannot use system library
 BUILD_DEPENDS +=	devel/gtest:patch
-GTEST_WRKSRC =		${WRKDIR}/devel/gtest/googletest-1.15.2
+GTEST_WRKSRC =		${WRKDIR}/devel/gtest/googletest-1.18.0
 GTEST_THIRD =		${WRKSRC}/third_party/googletest
 
 post-extract:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.