git: c907efe9d901 - main - devel/rapidjson: Update 1.1.0-524 -> 1.1.0-709

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 06 Nov 2022 08:20:27 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c907efe9d901495253b84ed110a78e933a515364

commit c907efe9d901495253b84ed110a78e933a515364
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-11-06 06:20:26 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-11-06 08:20:21 +0000

    devel/rapidjson: Update 1.1.0-524 -> 1.1.0-709
    
    Reported by:    portscout
---
 devel/rapidjson/Makefile                               | 15 ++++++++++-----
 devel/rapidjson/distinfo                               |  6 +++---
 devel/rapidjson/files/patch-include_rapidjson_schema.h | 10 ----------
 devel/rapidjson/pkg-plist                              |  1 +
 4 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/devel/rapidjson/Makefile b/devel/rapidjson/Makefile
index a7c0b640d887..d79ac169a871 100644
--- a/devel/rapidjson/Makefile
+++ b/devel/rapidjson/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	rapidjson
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1.0-524
-DISTVERSIONSUFFIX=	-gc4c6a654
+DISTVERSION=	1.1.0-709
+DISTVERSIONSUFFIX=	-g06d58b9e
 CATEGORIES=	devel textproc
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -13,15 +13,20 @@ LICENSE_NAME=	RapidJSON
 LICENSE_FILE=	${WRKSRC}/license.txt
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	Tencent
+TEST_DEPENDS=	googletest>0:devel/googletest \
+		valgrind:devel/valgrind
 
-USES=		cmake compiler:c++11-lang cpe pathfix
+USES=		cmake:testing compiler:c++11-lang cpe pathfix
 CPE_VENDOR=	tencent
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	Tencent
+
 NO_ARCH=	yes
 
+CMAKE_ARGS=	-DGTEST_INCLUDE_DIR=${LOCALBASE}/include -DGTESTSRC_FOUND=TRUE
 CMAKE_OFF=	RAPIDJSON_BUILD_TESTS RAPIDJSON_BUILD_EXAMPLES
+CMAKE_TESTING_ON=	RAPIDJSON_BUILD_TESTS
 
 OPTIONS_DEFINE=	DOXYGEN
 OPTIONS_DEFAULT=${OPTIONS_DEFINE}
diff --git a/devel/rapidjson/distinfo b/devel/rapidjson/distinfo
index 6c60a79c04a8..ede72c970274 100644
--- a/devel/rapidjson/distinfo
+++ b/devel/rapidjson/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1572745628
-SHA256 (Tencent-rapidjson-v1.1.0-524-gc4c6a654_GH0.tar.gz) = 98a065a642353ad9cebc8aded755d06d1456a111f9e5529ed8c36834a1c97cba
-SIZE (Tencent-rapidjson-v1.1.0-524-gc4c6a654_GH0.tar.gz) = 1057309
+TIMESTAMP = 1667714043
+SHA256 (Tencent-rapidjson-v1.1.0-709-g06d58b9e_GH0.tar.gz) = 6bda6c47ac79664cbe6eccb8d05a595770e5aeb5d1d3d8275ecd409b37c36c75
+SIZE (Tencent-rapidjson-v1.1.0-709-g06d58b9e_GH0.tar.gz) = 1107697
diff --git a/devel/rapidjson/files/patch-include_rapidjson_schema.h b/devel/rapidjson/files/patch-include_rapidjson_schema.h
deleted file mode 100644
index a07c8e9cd02e..000000000000
--- a/devel/rapidjson/files/patch-include_rapidjson_schema.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- include/rapidjson/schema.h.orig	2016-08-25 07:59:05 UTC
-+++ include/rapidjson/schema.h
-@@ -379,7 +379,6 @@ class Schema { (public)
-         exclusiveMinimum_(false),
-         exclusiveMaximum_(false)
-     {
--        typedef typename SchemaDocumentType::ValueType ValueType;
-         typedef typename ValueType::ConstValueIterator ConstValueIterator;
-         typedef typename ValueType::ConstMemberIterator ConstMemberIterator;
- 
diff --git a/devel/rapidjson/pkg-plist b/devel/rapidjson/pkg-plist
index cfc844ee6f08..75bce941d704 100644
--- a/devel/rapidjson/pkg-plist
+++ b/devel/rapidjson/pkg-plist
@@ -34,6 +34,7 @@ include/rapidjson/reader.h
 include/rapidjson/schema.h
 include/rapidjson/stream.h
 include/rapidjson/stringbuffer.h
+include/rapidjson/uri.h
 include/rapidjson/writer.h
 lib/cmake/RapidJSON/RapidJSONConfig.cmake
 lib/cmake/RapidJSON/RapidJSONConfigVersion.cmake