CVS commit: pkgsrc/devel/googletest

"Thomas Klausner" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	wiz
Date:		Sun Aug 16 12:11:59 UTC 2026

Modified Files:
	pkgsrc/devel/googletest: Makefile buildlink3.mk distinfo

Log Message:
googletest: update to 1.18.0.

C++ Language Support

    GoogleTest now requires at least C++17 and follows Google's
    Foundational C++ Support Policy. See this table for a list of
    currently supported versions compilers, platforms, and build
    tools.

Notable Changes

    Set GTEST_INTERNAL_HAS_STRING_VIEW = 1 in googletest as C++17
    always supports it (4f47274)

    Many bug fixes


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/googletest/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/googletest/buildlink3.mk
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/googletest/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 2.5 KB)
Modified files:

Index: pkgsrc/devel/googletest/Makefile
diff -u pkgsrc/devel/googletest/Makefile:1.30 pkgsrc/devel/googletest/Makefile:1.31
--- pkgsrc/devel/googletest/Makefile:1.30	Mon May  5 14:07:05 2025
+++ pkgsrc/devel/googletest/Makefile	Sun Aug 16 12:11:59 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2025/05/05 14:07:05 adam Exp $
+# $NetBSD: Makefile,v 1.31 2026/08/16 12:11:59 wiz Exp $
 
-DISTNAME=	googletest-1.17.0
+DISTNAME=	googletest-1.18.0
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=google/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
@@ -10,7 +10,7 @@ HOMEPAGE=	https://github.com/google/goog
 COMMENT=	Google's C++ testing framework
 LICENSE=	modified-bsd
 
-USE_CXX_FEATURES=	c++14
+USE_CXX_FEATURES=	c++17
 USE_LANGUAGES=		c c++
 
 CFLAGS+=	-fPIE

Index: pkgsrc/devel/googletest/buildlink3.mk
diff -u pkgsrc/devel/googletest/buildlink3.mk:1.4 pkgsrc/devel/googletest/buildlink3.mk:1.5
--- pkgsrc/devel/googletest/buildlink3.mk:1.4	Thu Jul 20 09:46:33 2023
+++ pkgsrc/devel/googletest/buildlink3.mk	Sun Aug 16 12:11:59 2026
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.4 2023/07/20 09:46:33 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2026/08/16 12:11:59 wiz Exp $
 
 BUILDLINK_TREE+=	googletest
 
 .if !defined(GOOGLETEST_BUILDLINK3_MK)
 GOOGLETEST_BUILDLINK3_MK:=
 
-USE_CXX_FEATURES+=		c++14
+USE_CXX_FEATURES+=		c++17
 
 BUILDLINK_API_DEPENDS.googletest+=	googletest>=1.4.0
 BUILDLINK_DEPMETHOD.googletest?=	build

Index: pkgsrc/devel/googletest/distinfo
diff -u pkgsrc/devel/googletest/distinfo:1.21 pkgsrc/devel/googletest/distinfo:1.22
--- pkgsrc/devel/googletest/distinfo:1.21	Mon May  5 14:07:05 2025
+++ pkgsrc/devel/googletest/distinfo	Sun Aug 16 12:11:59 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2025/05/05 14:07:05 adam Exp $
+$NetBSD: distinfo,v 1.22 2026/08/16 12:11:59 wiz Exp $
 
-BLAKE2s (googletest-1.17.0.tar.gz) = 576b9b50aba8b74746b3db9a1e8acaea160c88836b36b72684effb834fc050c3
-SHA512 (googletest-1.17.0.tar.gz) = 0f57e9ef06925e5b7722df1eb92ef5850e8dce79220ea16a8aaff586a71c0b01460ef1713649ee24ffedb2e6ad5a51e9198c5a5ae1b2789e43feb1f494e7d45c
-Size (googletest-1.17.0.tar.gz) = 885595 bytes
+BLAKE2s (googletest-1.18.0.tar.gz) = c24eb8defbace6aaaae39d146d1d014b57443fe901621b2bfb6cc6c6a7690b1c
+SHA512 (googletest-1.18.0.tar.gz) = ba0f5769ccf34acf1bc72d1f7e9ffb8202176d02b64f6f3d9047accfc0cf9026ff5a653d24935e2705fff8709566676452616c93ca0ca6277f1e21d79b58a10a
+Size (googletest-1.18.0.tar.gz) = 894741 bytes
 SHA1 (patch-googletest_src_gtest.cc) = facc0a9bbeb45603ea069e609f06a20dcd624984
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.